Skip to content

Commit

Permalink
Remove Ruff pyugrade keep-runtime-annotations
Browse files Browse the repository at this point in the history
Ignore UP006 and UP007 instead.
This is a breaking change introduced by Ruff 0.0.268.
  • Loading branch information
tronikos authored May 27, 2023
1 parent babba27 commit e29b8d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ select = [
ignore = [
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
# keep-runtime-annotations
'UP006', # Non PEP585 annotations
'UP007', # Non PEP604 annotations
]

[tool.ruff.flake8-pytest-style]
fixture-parentheses = false

[tool.ruff.pyupgrade]
keep-runtime-typing = true

[tool.ruff.per-file-ignores]
# Allow for demo script to write to stdout
"demo.py" = ["T201"]
Expand Down

0 comments on commit e29b8d1

Please sign in to comment.