Skip to content

Commit ddeb128

Browse files
author
github-actions
committed
fix: Add UP045 to ruff ignore list for Python 3.9 compatibility
1 parent ca18e63 commit ddeb128

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ version_variables = [
8585
[tool.ruff.lint]
8686
select = ["E", "F", "I", "UP", "B", "SIM"]
8787
ignore = [
88-
"UP007", # Use X | Y - not compatible with Pydantic/typer on Python 3.9
88+
"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
8990
]
9091

9192
[tool.mypy]

0 commit comments

Comments
 (0)