File tree Expand file tree Collapse file tree 6 files changed +408
-338
lines changed Expand file tree Collapse file tree 6 files changed +408
-338
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ install: ## Install project
1919 poetry install \
2020 ` if [ -n " ${EXTRAS} " ]; then for i in ${EXTRAS} ; do echo " -E $$ i " ; done ; fi` \
2121 ` if [ " ${DEV} " = " 0" ]; then echo " --no-dev" ; fi`
22+ poetry run pip uninstall -y flakehell | true
2223
2324lint : # # Lint with all tools
2425 make isort black flake mypy
@@ -30,7 +31,7 @@ black: ## Lint with black
3031 poetry run black src tests
3132
3233flake : # # Lint with flake8
33- poetry run flakehell lint src tests
34+ poetry run flakeheaven lint src tests
3435
3536mypy : # # Lint with mypy
3637 poetry run mypy src tests
@@ -39,7 +40,7 @@ test: ## Run test suite
3940 poetry run pytest --cov-report=term-missing --cov=dipdup --cov-report=xml -n auto --dist loadscope -s -v tests
4041
4142cover : # # Print coverage for the current branch
42- poetry run diff-cover coverage.xml
43+ poetry run diff-cover --compare-branch ` git symbolic-ref refs/remotes/origin/HEAD | sed ' s@^refs/remotes/origin/@@ ' ` coverage.xml
4344
4445build : # # Build wheel Python package
4546 poetry build
You can’t perform that action at this time.
0 commit comments