Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrasser committed Aug 6, 2024
1 parent a73a0a9 commit 943eb6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.5.6
hooks:
- id: ruff
args: [--fix, --select, I, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.371
rev: v1.1.374
hooks:
- id: pyright
additional_dependencies: [cython, httpretty, numpy, pytest]
4 changes: 2 additions & 2 deletions cryosparc/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,11 +717,11 @@ def __init__(
List[Tuple[str, "ArrayLike"]],
Literal[None],
] = 0,
row_class: Type[R] = Row,
row_class=Row,
):
# Always initialize with at least a UID field
super().__init__()
self._row_class = row_class
self._row_class = row_class # type: ignore
self._rows = None

if isinstance(allocate, Dataset):
Expand Down

0 comments on commit 943eb6d

Please sign in to comment.