File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ repos:
2727 - id : end-of-file-fixer
2828 - id : trailing-whitespace
2929
30- - repo : https://github.com/asottile/pyupgrade
31- rev : v3.15.1
32- hooks :
33- - id : pyupgrade
34- args : [--py38-plus]
30+ # - repo: https://github.com/asottile/pyupgrade
31+ # rev: v3.15.1
32+ # hooks:
33+ # - id: pyupgrade
34+ # args: [--py38-plus]
3535
3636 - repo : https://github.com/PyCQA/autoflake
3737 rev : v2.3.0
Original file line number Diff line number Diff line change 3636from pymatgen .io .validation .check_potcar import CheckPotcar
3737from pymatgen .io .validation .settings import IOValidationSettings
3838
39- from typing import TYPE_CHECKING
39+ from typing import Optional , TYPE_CHECKING
4040
4141if TYPE_CHECKING :
4242 from typing import Any
@@ -53,7 +53,7 @@ class ValidationDoc(EmmetBaseModel):
5353 Validation document for a VASP calculation
5454 """
5555
56- task_id : MPID = Field (None , description = "The task_id for this validation document" )
56+ task_id : Optional [ MPID ] = Field (None , description = "The task_id for this validation document" )
5757
5858 valid : bool = Field (False , description = "Whether this task is valid or not" )
5959
You can’t perform that action at this time.
0 commit comments