Skip to content

Commit

Permalink
Merge pull request #118 from koaning/stylefix
Browse files Browse the repository at this point in the history
improve makefile
  • Loading branch information
koaning authored Jan 21, 2025
2 parents 664e775 + c8ac814 commit 05488c8
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
.PHONY: docs

black:
black embetter tests setup.py

flake:
flake8 embetter tests setup.py
ruff:
python -m ruff check embetter tests setup.py

test:
pytest -n auto -vv

install:
python -m pip install -e ".[dev]"

interrogate:
interrogate -vv --ignore-nested-functions --ignore-semiprivate --ignore-private --ignore-magic --ignore-module --ignore-init-method --fail-under 100 tests
interrogate -vv --ignore-nested-functions --ignore-semiprivate --ignore-private --ignore-magic --ignore-module --ignore-init-method --fail-under 100 embetter

pypi:
python setup.py sdist
python setup.py bdist_wheel --universal
Expand All @@ -24,7 +17,7 @@ pypi:
clean:
rm -rf **/.ipynb_checkpoints **/.pytest_cache **/__pycache__ **/**/__pycache__ .ipynb_checkpoints .pytest_cache

check: clean black flake interrogate test clean
check: clean ruff test clean

docs:
cp README.md docs/index.md
Expand Down

0 comments on commit 05488c8

Please sign in to comment.