Skip to content

Commit bd3edb9

Browse files
committed
chore: update pre-commit
1 parent 769d993 commit bd3edb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: check-yaml
1313
- id: check-added-large-files
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.9.9
15+
rev: v0.11.2
1616
hooks:
1717
- id: ruff
1818
name: ruff check
@@ -26,7 +26,7 @@ repos:
2626
name: ruff format
2727
alias: format
2828
- repo: https://github.com/RobertCraigie/pyright-python
29-
rev: v1.1.396
29+
rev: v1.1.398
3030
hooks:
3131
- id: pyright
3232
additional_dependencies: [cython, httpretty, numpy, pytest, setuptools]

cryosparc/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ def rename_prefix(self, old_prefix: str, new_prefix: str, *, copy: bool = False)
13091309
"""
13101310
prefix_map = {old_prefix: new_prefix}
13111311

1312-
def field_map(name):
1312+
def field_map(name: str):
13131313
prefix, base = name.split("/")
13141314
return prefix_map.get(prefix, prefix) + "/" + base
13151315

0 commit comments

Comments
 (0)