jnikula / hawkmoth

Hawkmoth - Sphinx Autodoc for C
https://jnikula.github.io/hawkmoth/
BSD 2-Clause "Simplified" License
74 stars 12 forks source link

setup: move flake8 filename patterns to setup.cfg #222

Closed jnikula closed 1 year ago

jnikula commented 1 year ago

Commit dc17f4165508 ("setup: move flake8 configuration to setup.cfg") moved flake8 ignore patterns and line length config to setup.cfg. Also move the filename patterns there.

jnikula commented 1 year ago

Well noted, but actually, seems like flake 8 already finds everything on its own, this is only needed if we don't want to apply it somewhere as an exception. Maybe we want to remove it altogether?

Then we'd need to add excludes, because it finds absolutely everything in the virtual environment, checks doc/conf.py, etc. I prefer it this way.

Otherwise it's fine.

BrunoMSantos commented 1 year ago

Oh, ok. I personally like checking conf.py. Oh well, I'll fight that one some other day :P