Using:
- poetry
- pre-commit
- isort
- black
- flake8
- sqlfluff
- pytest
- pytest-cov
for code formatting
Install dependencies:
poetry installRun tests
poetry run pytest
Run tests with coverage report
poetry run pytest --cov-report term --cov=src tests/
Install pre-commit hooks
poetry run pre-commit installPre-commit check
poetry run pre-commit run --all-filessqlfluff lints
poetry run sqlfluff lint dbt/dbt_test_projectVERSION=$(poetry version patch --short)
git commit -am "Bump Version"
git tag $VERSION
git push --tags
git pushMade with ❤️ by datamax.ai.