mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Fix lint errors, adding a formatter
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,7 +1,11 @@
|
||||
FLAKE_FLAGS = --ignore=E501,F401,F403,F405
|
||||
IGNORE_ERRORS = E501,F401,F403,F405
|
||||
PKG = mathgenerator
|
||||
|
||||
format:
|
||||
python -m autopep8 --ignore=$(IGNORE_ERRORS) -i $(PKG)/*
|
||||
|
||||
lint:
|
||||
python -m flake8 $(FLAKE_FLAGS)
|
||||
python -m flake8 --ignore=$(IGNORE_ERRORS) $(PKG)
|
||||
|
||||
test:
|
||||
python -m pytest --verbose -s tests
|
||||
|
||||
Reference in New Issue
Block a user