summaryrefslogtreecommitdiff
path: root/.flake8
AgeCommit message (Collapse)AuthorFilesLines
2019-05-16flake8: add exceptions for overly pedantic camelcase rules from pep8-naming ↵Todd Gamblin1-1/+3
(#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-7/+13
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).
2018-07-19style: make core comply with pep8-namingTodd Gamblin1-1/+4
2017-10-24flake8: no wildcards in core; only `import *` from spack in packagesTodd Gamblin1-9/+4
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.
2017-04-25Properly ignore flake8 F811 redefinition errors (#3932)Adam J. Stewart1-2/+2
* Properly ignore flake8 F811 redefinition errors * Add unit tests for flake8 command * Allow spack flake8 to work on systems with older git * Skip flake8 unit tests for Python 2.6 and 3.3
2016-08-30Some flake8 settings weren't documentedAdam J. Stewart1-4/+7
2016-08-10Make Spack core PEP8 compliant.Todd Gamblin1-1/+1
2016-06-16flake8: ignore F405alalazo1-1/+1
2016-05-26Added a style checking exemption for lambda expressions.Joseph Ciurej1-1/+4
2016-05-11format .flake8 more nicely.Todd Gamblin1-7/+15
2016-05-11Use just one flake8 file; mark package.py files to avoid E501 w/url.Todd Gamblin1-0/+12