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

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
AvasamandAlex Waygood authored and GitHub committed 2024-03-01 07:15:53 -08:00
1 parent 2116158891
commit 88238202d7
68 files changed
+68 -395

No files matched your search

-5
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