mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
16 lines
317 B
Makefile
16 lines
317 B
Makefile
IGNORE_ERRORS = E501,F401,F403,F405
|
|
PKG = mathgenerator
|
|
PYTHON ?= python3
|
|
|
|
deps:
|
|
$(PYTHON) -m pip install --user -r dev-requirements.txt
|
|
|
|
format:
|
|
$(PYTHON) -m autopep8 --ignore=$(IGNORE_ERRORS) -ir $(PKG)/*
|
|
|
|
lint:
|
|
$(PYTHON) -m flake8 --ignore=$(IGNORE_ERRORS) $(PKG)
|
|
|
|
test:
|
|
$(PYTHON) -m pytest --verbose -s tests
|