mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 07:30:55 +00:00
add autoflake to lint and move config to pyproject.toml
This commit is contained in:
5
Makefile
5
Makefile
@ -25,7 +25,10 @@ clean-pyc:
|
||||
find . -name '__pycache__' -exec rm -rf {} +
|
||||
|
||||
lint:
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
@pre-commit run --all-files --show-diff-on-failure || ( \
|
||||
echo "\n\n\n * pre-commit should have fixed the errors above. Running again to make sure everything is good..." \
|
||||
&& pre-commit run --all-files --show-diff-on-failure \
|
||||
)
|
||||
|
||||
test:
|
||||
pytest tests
|
||||
|
||||
Reference in New Issue
Block a user