Slide 57
Slide 57 text
chalice/Makefile (1/2)
TESTS=tests/unit tests/functional
check:
###### FLAKE8 #####
# No unused imports, no undefined vars,
flake8 --ignore=E731,W503 --exclude chalice/__init__.py,chalice/compat.py --max-complexity 10 chalice/
flake8 --ignore=E731,W503,F401 --max-complexity 10 chalice/compat.py
flake8 tests/unit/ tests/functional/ tests/integration
#
# Proper docstring conventions according to pep257
#
#
pydocstyle --add-ignore=D100,D101,D102,D103,D104,D105,D204,D301 chalice/
pylint:
###### PYLINT ######
pylint --rcfile .pylintrc chalice
# Run our custom linter on test code.
pylint --load-plugins tests.linter --disable=I,E,W,R,C,F --enable C9999,C9998 tests/
typecheck:
mypy --py2 --ignore-missing-imports --follow-imports=skip -p chalice --disallow-untyped-defs
Continued…