Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jul 27, 2024
1 parent cc18076 commit 96a787c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ exclude: .asv

repos:
- repo: https://github.com/crate-ci/typos
rev: v1.22.9
rev: v1.23.5
hooks:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.5
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]
Expand All @@ -24,7 +24,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
rev: v1.11.0
hooks:
- id: mypy
exclude: tests|_throttler.pyi
Expand Down
2 changes: 1 addition & 1 deletion tests/test_group_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class Bar(Foo):
assert "b" in bar.events

else:
assert type(foo.events) == signal_class
assert type(foo.events) is signal_class
assert "a" not in foo.events
assert "a" not in bar.events
assert "b" not in bar.events
Expand Down

0 comments on commit 96a787c

Please sign in to comment.