.flake8 - Flake8 configuration¶
See the docs for more details.
Although there is a max-doc-length, setting this still produces lots of error about long lines, even if those lines are just a comment. The docs on max-line-length states that it applies to ALL lines – including comments – unless they contain a URL or a string. So, set this to allow long comments.
Black formats this differently.
The Sphinx-generated conf.py
files break this rule a lot.
The indents for the in-line JS code make flake8 unhappy.
Exclude generated files and the test file with lots of weird formatting.