summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorTom Scogland <scogland1@llnl.gov>2021-01-22 16:24:15 -0800
committerGitHub <noreply@github.com>2021-01-22 16:24:15 -0800
commit12eb4a146ffeec7a5034d44b60ab213132068242 (patch)
treec416bcc4b0b3687a8adb251c502f889bdda521d0 /pytest.ini
parent82ada16668984121e9993c606f09f35962746a38 (diff)
downloadspack-12eb4a146ffeec7a5034d44b60ab213132068242.tar.gz
spack-12eb4a146ffeec7a5034d44b60ab213132068242.tar.bz2
spack-12eb4a146ffeec7a5034d44b60ab213132068242.tar.xz
spack-12eb4a146ffeec7a5034d44b60ab213132068242.zip
use module and package flags to get more correct mypy behavior (#21225)
The first of my two upstream patches to mypy landed in the 0.800 tag that was released this morning, which lets us use module and package parameters with a .mypy.ini file that has a files key. This uses those parameters to check all of spack in style, but leaves the packages out for now since they are still very, very broken. If no package has been modified, the packages are not checked, but if one has they are. Includes some fixes for the log tests since they were not type checking. Should also fix all failures related to "duplicate module named package" errors. Hopefully the next drop of mypy will include my other patch so we can just specify the modules and packages in the config file to begin with, but for now we'll have to live with a bare mypy doing a check of the libs but not the packages. * use module and package flags to check packages properly * stop checking package files, use package flag for libs The packages are not type checkable yet, need to finish out another PR before they can be. The previous commit also didn't check the libraries properly, this one does.
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions