summaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2023-07-11 04:30:07 -0700
committerGitHub <noreply@github.com>2023-07-11 13:30:07 +0200
commit162d0926f939ce938279e73fd07ff6634ee35770 (patch)
tree79f4de0dc3051c39d50de493fab46c2e16f080a8 /COPYRIGHT
parentf0ef0ceb341fa3f35b4ca1d06f62fa9d94343bd7 (diff)
downloadspack-162d0926f939ce938279e73fd07ff6634ee35770.tar.gz
spack-162d0926f939ce938279e73fd07ff6634ee35770.tar.bz2
spack-162d0926f939ce938279e73fd07ff6634ee35770.tar.xz
spack-162d0926f939ce938279e73fd07ff6634ee35770.zip
mypy: add more ignored modules to `pyproject.toml` (#38769)
`mypy` will check *all* imported packages, even optional dependencies outside your project, and this can cause issues if you are targeting python versions *older* than the one you're running in. `mypy` will report issues in the latest versions of dependencies as errors even if installing on some older python would have installed an older version of the dependency. We saw this problem before with `numpy` in #34732. We've started seeing it with IPython in #38704. This fixes the issue by exempting `IPython` and a number of other imports of Spack's from `mypy` checking.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions