Skip to content

Commit

Permalink
Merge pull request #242 from rs-station/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
JBGreisman authored Feb 1, 2024
2 parents 66b7ba2 + 3b99c61 commit b78e571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
files: ^(reciprocalspaceship|tests)/
Expand Down
8 changes: 5 additions & 3 deletions reciprocalspaceship/dtypes/integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ def _get_common_dtype(self, dtypes: list[DtypeObj]) -> DtypeObj | None:
# _SupportsDtype, str, Tuple[Any, Union[int, Sequence[int]]],
# List[Any], _DtypeDict, Tuple[Any, Any]]]
[
t.numpy_dtype # type: ignore[misc]
if isinstance(t, BaseMaskedDtype)
else t
(
t.numpy_dtype # type: ignore[misc]
if isinstance(t, BaseMaskedDtype)
else t
)
for t in dtypes
],
[],
Expand Down

0 comments on commit b78e571

Please sign in to comment.