Open ashb opened 3 years ago
Ah, the problem was the cookie cutter I had used had defined python_files
and testpath
options for pytest. Removing that and it's checking all python files now.
Actually, is there a way I can add extra files specifically that only get flake8 checked, but that are ignored by pytest for tests? Particularly I'd like to check docs/conf.py
and setup.py
, but not have flake8 parse them for tests collection.
I would like this module to check my setup.py for flake8 validity, but for some reason it's not picking it up for me.
Is there any setting to list other files to check?
Could this be related to me using a
src/
type layout for my package?