summaryrefslogtreecommitdiff
path: root/.flake8_packages
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01Spelling fixes (#15805)Greg Sjaardema1-1/+1
* Spelling fixes * spelling fixes * spelling fixes * spelling fixes * spelling fix * spelling fix * spelling fix * spelling fixes * spelling fix
2019-05-16flake8: add exceptions for overly pedantic camelcase rules from pep8-naming ↵Todd Gamblin1-1/+1
(#11477) Rules N813 and N814 prevented import statements like this: xml.etree.ElementTree as et xml.etree.ElementTree as ET But both of those seem pretty reasonable. We see no reason to require any camelcase import to be imported "as" a camelcase word.
2019-01-21Typo fixes in .flake8 comments (#10399)Adam J. Stewart1-4/+6
2018-10-25flake8: explicitly allow line break before or after binary operator (#9627)Massimiliano Culpo1-1/+1
W503 and W504 are issued for line breaks before or after binary operators (respectively). This allows either approach (explicitly instructing flake8 to ignore both of these cases).
2017-10-24flake8: no wildcards in core; only `import *` from spack in packagesTodd Gamblin1-0/+22
There are now separate flake8 configs for core vs. packages: - core has a smaller set of flake8 exceptions - packages allow `from spack import *` and module globals - Allows core to take advantage of static checking for undefined names - Allows packages to keep using Spack tricks like `from spack import *` and dependencies setting globals for dependents.