Add pyupgrade check outdated-version-block (UP036) (#11509)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Avasam
2024-03-01 10:15:53 -05:00
committed by GitHub
parent 2116158891
commit 88238202d7
68 changed files with 68 additions and 395 deletions

View File

@@ -57,11 +57,6 @@ ignore = [
# B033 could be slightly useful but Ruff doesn't have per-file select
"B", # flake8-bugbear
]
# Generated protobuf files:
# TODO: Re-run sync_tensorflow_protobuf_stubs.sh with this rule enabled to remove this entry
"*_pb2.pyi" = [
"UP036", # Version block is outdated for minimum Python version
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false