Skip to content

Commit defaed8

Browse files
author
github-actions
committed
chore: Remove UP045 from ruff ignore list
Remove the UP045 rule from ruff ignore list since it causes issues with pre-commit hooks due to version compatibility.
1 parent f1f89f5 commit defaed8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ version_variables = [
8686
select = ["E", "F", "I", "UP", "B", "SIM"]
8787
ignore = [
8888
"UP007", # Use X | Y - not compatible with Pydantic on Python 3.9
89-
"UP045", # Use X | None - not compatible with typer on Python 3.9
9089
]
9190

9291
[tool.mypy]

0 commit comments

Comments
 (0)