You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add type annotations for io.vasp.inputs/optics (#3740)
* some easy mypy fixes
* ruff check pymatgen/io/vasp --select ANN204 --unsafe-fixes --fix
* add type for io.vasp.help
* add timeout 60 sec for requests.get
* pre-commit auto-fixes
* add timeout 60 sec for requests.get
* fix default value of default_names
* finish poscar.from_str
* finish Poscar
* finish Incar
* temp save for potcarsingle
* put dunder methods close and to the top
* put properties close and to the top
* put properties close and to the top
* replace str with PathLike
* add types for optics
* suppress some overload
* remove None type from completely untyped classes
* pre-commit auto-fixes
* fix type error outside io.vasp
* check for None in Incar init
* ruff fix
* allow None
* fix types
* replace `defaultdict` with specific type
* revert accidental changes
* fix test
* fix tests
---------
Co-authored-by: Janosh Riebesell <[email protected]>
0 commit comments