Skip to content

Commit

Permalink
STY: Misc linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BvB93 committed Apr 11, 2023
1 parent 2ea3f5d commit 3e0571e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nanoCAT/recipes/bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import functools
from itertools import chain
from typing import (
Any,
Iterable,
List,
Iterator,
Expand Down Expand Up @@ -279,7 +278,7 @@ def _molecule_from_rdmol(
"""Construct a PLAMS molecule from the passed rdkit mol's ``MolBlock``."""
for tup in matches:
try:
i, *_, j = tup # type: int, Any, None | int
i, *_, j = tup
except ValueError:
i = tup[0]
j = None
Expand Down

0 comments on commit 3e0571e

Please sign in to comment.