Skip to content

Commit

Permalink
fix mypy directive outside of function call
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Jun 7, 2021
1 parent 744fde9 commit 0f3307d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions emmet-core/emmet/core/oxidation_states.py
Expand Up @@ -28,9 +28,7 @@ class OxidationStateDoc(PropertyDoc):
method: str = Field(description="Method used to compute oxidation states")

@classmethod
def from_structure(
cls, structure: Structure, material_id: MPID, **kwargs # type: ignore[override]
):
def from_structure(cls, structure: Structure, material_id: MPID, **kwargs): # type: ignore[override]
structure.remove_oxidation_states()
try:
bva = BVAnalyzer()
Expand Down

0 comments on commit 0f3307d

Please sign in to comment.