File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # -*- conf -*-
2+ # This is the only flake8 rule Spack violates somewhat flagrantly
3+ # - E731: do not assign a lambda expression, use a def
4+ #
5+ # This is the only flake8 exception needed when using Black.
6+ # - E203: white space around slice operators can be required, ignore : warn
7+ #
8+ # We still allow these in packages
9+ # - F403: from/import * used; unable to detect undefined names
10+ # - F405: undefined name or from *
11+ # - F821: undefined name (needed with from/import *)
12+ #
113[flake8]
14+ extend-ignore = E731,E203
215max-line-length = 99
3- extend-ignore = F403,F405
16+ per-file-ignores =
17+ */package.py:F403,F405,F821
18+ # format = spack
19+
20+ # [flake8:local-plugins]
21+ # report =
22+ # spack = flake8_formatter:SpackFormatter
23+ # paths =
24+ # ./spack-core/share/spack/qa/
You can’t perform that action at this time.
0 commit comments