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 committed Jun 4, 2023
1 parent c436254 commit 64374fc
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 @@ -64,14 +64,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 64374fc

Please sign in to comment.