Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Stack Documentation and UX
-
Labels:
-
Story Points:0.2
-
Epic Link:
-
Team:SQuaRE
Description
Via DM-9879 we've found some useful exclude paths for the flake8 configuration:
[flake8]
|
max-line-length = 79
|
ignore = E133, E226, E228, N802, N803
|
exclude =
|
bin,
|
doc,
|
**/*/__init__.py,
|
**/*/version.py,
|
tests/.tests/
|
This can be added to the Python Style Guide at https://developer.lsst.io/coding/python_style_guide.html#flake8-configuration-files
Draft at: https://developer.lsst.io/v/DM-9919/coding/python_style_guide.html#flake8-configuration-files
See PR for justification.
One decision decision is whether justification for each ignored path should be added to the DM Python Style Guide, or whether it is sufficiently self-explanatory.