Skip to content

Commit 319f690

Browse files
authored
Merge pull request #238 from ap--/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 27f482d + cc4c5ec commit 319f690

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ default_language_version:
44
python: python3.10
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.5.0
7+
rev: v4.6.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: end-of-file-fixer
1111
- id: check-yaml
1212
- id: check-added-large-files
1313
- repo: https://github.com/psf/black
14-
rev: '24.2.0'
14+
rev: '24.4.2'
1515
hooks:
1616
- id: black
1717
language_version: python3
@@ -28,18 +28,18 @@ repos:
2828
language_version: python3
2929
exclude: "^(build|docs|tests|setup.py)"
3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: 'v1.8.0'
31+
rev: 'v1.10.0'
3232
hooks:
3333
- id: mypy
3434
additional_dependencies: [numpy<1.25, pyusb>=1.0]
3535
exclude: "^(build|docs|tests|dev|setup.py)"
3636
- repo: https://github.com/asottile/pyupgrade
37-
rev: v3.15.1
37+
rev: v3.15.2
3838
hooks:
3939
- id: pyupgrade
4040
args: [--py38-plus]
4141
- repo: https://github.com/MarcoGorelli/cython-lint
42-
rev: v0.16.0
42+
rev: v0.16.2
4343
hooks:
4444
- id: cython-lint
4545
- id: double-quote-cython-strings

src/seabreeze/pyseabreeze/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def __new__(
254254
indices : iterable
255255
index of electric dark pixel
256256
"""
257-
return super().__new__(DarkPixelIndices, sorted(set(indices))) # type: ignore
257+
return super().__new__(DarkPixelIndices, sorted(set(indices)))
258258

259259
@classmethod
260260
def from_ranges(cls, *ranges: tuple[int, int]) -> DarkPixelIndices:

0 commit comments

Comments
 (0)