diff --git a/.github/workflows/pyright.yml b/.github/workflows/pyright.yml index cebe2b60..78477a35 100644 --- a/.github/workflows/pyright.yml +++ b/.github/workflows/pyright.yml @@ -8,7 +8,7 @@ jobs: name: pyright runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v7 - uses: actions/setup-python@v6 with: python-version: '3.12' diff --git a/pyproject.toml b/pyproject.toml index b94fce2e..3260bc86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,6 +129,27 @@ banned-module-level-imports = [ required-imports = ["from __future__ import annotations"] [tool.pyright] +# Expand nested coverage incrementally. The remaining parser directories have +# existing diagnostics that need format-specific type review before enabling +# them; listing clean modules here keeps CI useful without globally suppressing +# the existing type-checking debt. include = [ "dpdata/*.py", + "dpdata/formats/openmx/**/*.py", + "dpdata/formats/pwmat/**/*.py", + "dpdata/formats/pymatgen/**/*.py", + "dpdata/formats/siesta/**/*.py", + "dpdata/md/msd.py", + "dpdata/md/pbc.py", + "dpdata/plugins/cp2k.py", + "dpdata/plugins/fhi_aims.py", + "dpdata/plugins/gromacs.py", + "dpdata/plugins/list.py", + "dpdata/plugins/lmdb.py", + "dpdata/plugins/openmx.py", + "dpdata/plugins/orca.py", + "dpdata/plugins/psi4.py", + "dpdata/plugins/qe.py", + "dpdata/plugins/rdkit.py", + "dpdata/plugins/siesta.py", ]