Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Loading