@@ -18,3 +18,56 @@ show_response = 1
1818
1919[aliases]
2020release = egg_info -RDb ' '
21+
22+ [bdist_wheel]
23+ universal =1
24+
25+ [bdist_rpm]
26+ packager = Rocky Bernstein <rocky@gnu.org>
27+ provides = pycolumnize # Seems to go in rpm's "provides"?
28+
29+ [metadata]
30+ description_file = README.rst
31+ ChangeLog
32+ LICENSE
33+ NEWS.md
34+
35+
36+ [flake8]
37+ # max-line-length setting: NO we do not want everyone writing 120-character lines!
38+ # We are setting the maximum line length big here because there are longer
39+ # lines allowed by black in some cases that are forbidden by flake8. Since
40+ # black has the final say about code formatting issues, this setting is here to
41+ # make sure that flake8 doesn't fail the build on longer lines allowed by
42+ # black.
43+ max-line-length = 120
44+ max-complexity = 12
45+ select = E,F,W,C,B,B9
46+ ignore =
47+ # E123 closing bracket does not match indentation of opening bracket's line
48+ E123
49+ # E203 whitespace before ':' (Not PEP8 compliant, Python Black)
50+ E203
51+ # E501 line too long (82 > 79 characters) (replaced by B950 from flake8-bugbear,
52+ # https://github.com/PyCQA/flake8-bugbear)
53+ E501
54+ # W503 line break before binary operator (Not PEP8 compliant, Python Black)
55+ W503
56+ # W504 line break after binary operator (Not PEP8 compliant, Python Black)
57+ W504
58+ # C901 function too complex - since many of zz9 functions are too complex with a lot
59+ # of if branching
60+ C901
61+ # module level import not at top of file. This is too restrictive. Can't even have a
62+ # docstring higher.
63+ E402
64+ per-file-ignores =
65+ # These are config files. The `c` variable them is injected not defined.
66+ pow/ansible/roles/jupyterhub/templates/jupyterhub_config*.py:F821
67+ # Ignore some errors in files that are stolen from other projects to avoid lots
68+ # of merge problems later .
69+ pow/ansible/roles/webtier/files/supervisor_httpgroupok.py:E126,E128,E222,E225,E226,E261,E301,E302,E305,F841,E201,E202
70+ silhouette/src/silhouette/gprof2dot.py:E711,E713,E741,F401
71+ # Ignore undefined name errors in "expectation" test Python code.
72+ # These files get exec'd in an environment that defines the variables.
73+ server/tests/files/expectations/*.py:F821
0 commit comments