Skip to content
Snippets Groups Projects
  • Todd Gamblin's avatar
    7757ebc0
    flake8: no wildcards in core; only `import *` from spack in packages · 7757ebc0
    Todd Gamblin authored
    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.
    7757ebc0
    History
    flake8: no wildcards in core; only `import *` from spack in packages
    Todd Gamblin authored
    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.