Pytest-flake8 Ignore patterns # content of setup.cfg [pytest] flake8-ignore = *.py E201 doc/conf.py ALL See also pytest python flake8 pycodestyle - Simple Python style checker in one Python file Favorite site