Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.14.1
hooks:
- id: ruff
args: [ --fix ]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.ruff]
exclude = [
extend-exclude = [
"*.pyi",
"__init__.py",
"_version.py",
Expand Down
6 changes: 3 additions & 3 deletions tests/test_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def test_mypy():
try:
exec(check, {"typ": typ})
except Exception:
assert (
False
), f"Failed check at {PATH}:{lineno}: {check!r}, where 'typ' is {typ!r}"
assert False, (
f"Failed check at {PATH}:{lineno}: {check!r}, where 'typ' is {typ!r}"
)
elif "success" not in line.lower():
assert False, line
6 changes: 3 additions & 3 deletions tests/test_pyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def test_pyright():
try:
exec(check, {"typ": typ})
except Exception:
assert (
False
), f"Failed check at {PATH}:{lineno}: {check!r}, where 'typ' is {typ!r}"
assert False, (
f"Failed check at {PATH}:{lineno}: {check!r}, where 'typ' is {typ!r}"
)
Loading