Skip to content

Commit

Permalink
Merge pull request #238 from ap--/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
ap-- committed May 8, 2024
2 parents 27f482d + cc4c5ec commit 319f690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Expand Up @@ -4,14 +4,14 @@ default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: '24.2.0'
rev: '24.4.2'
hooks:
- id: black
language_version: python3
Expand All @@ -28,18 +28,18 @@ repos:
language_version: python3
exclude: "^(build|docs|tests|setup.py)"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
rev: 'v1.10.0'
hooks:
- id: mypy
additional_dependencies: [numpy<1.25, pyusb>=1.0]
exclude: "^(build|docs|tests|dev|setup.py)"
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.16.0
rev: v0.16.2
hooks:
- id: cython-lint
- id: double-quote-cython-strings
2 changes: 1 addition & 1 deletion src/seabreeze/pyseabreeze/devices.py
Expand Up @@ -254,7 +254,7 @@ def __new__(
indices : iterable
index of electric dark pixel
"""
return super().__new__(DarkPixelIndices, sorted(set(indices))) # type: ignore
return super().__new__(DarkPixelIndices, sorted(set(indices)))

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

0 comments on commit 319f690

Please sign in to comment.