Skip to content

Commit e926eb3

Browse files
Update PyTezos and other deps, replace flakehell with flakeheaven (#363)
* Update PyTezos, replace flakehell with flakeheaven * Disable pylint explicitly * Caching issue? * Remove Python 3.11 * Revert --remove-untracked * Kinda migration
1 parent 588b860 commit e926eb3

File tree

6 files changed

+408
-338
lines changed

6 files changed

+408
-338
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2324
lint: ## 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

3233
flake: ## Lint with flake8
33-
poetry run flakehell lint src tests
34+
poetry run flakeheaven lint src tests
3435

3536
mypy: ## 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

4142
cover: ## 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

4445
build: ## Build wheel Python package
4546
poetry build

0 commit comments

Comments
 (0)