dbt users might be using Stat hosts to work on their code. dbt command is available on the Stat hosts through the Conda Analytics environment, but the sqlfluff command is not available.
We need to enable sqlfluff to be run in the Stat hosts.
Sqlfluff is already configured in the dbt-jobs repository through Poetry, but Poetry is not installed in the Stat hosts.
Some approaches could be:
- Install sqlfluff in the Conda environment
- Install Poetry in the Stat hosts
- Describe in the Readme.md how to install Poetry in Stat hosts, so each developer can install it on their environment.
Sqlfluff will run with poetry run sqlfluff lint in case Poetry is available.
