Skip to content

Commit

Permalink
fix: Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Aoun committed May 14, 2024
1 parent 5c42528 commit 328c28a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache

lint/flake8: ## check style with flake8
ruff xncml tests
ruff check src tests
flake8 --config=.flake8 xncml tests

lint/black: ## check style with black
black --check xncml tests
blackdoc --check xncml docs
isort --check xncml tests
black --check src/xncml tests
blackdoc --check src/xncml docs
isort --check src/xncml tests

lint: lint/flake8 lint/black ## check style

Expand All @@ -72,7 +72,7 @@ test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
coverage run --source xncml -m pytest
coverage run --source src/xncml -m pytest
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html
Expand Down

0 comments on commit 328c28a

Please sign in to comment.