Skip to content

Commit e050986

Browse files
authored
make pyproject.toml valid TOML again (#11510)
1 parent 26e8c00 commit e050986

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pyproject.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,16 @@ ignore = [
5252
# deliberately contain code that might not be considered idiomatic or modern
5353
# These can be run manually once in a while
5454
"**/test_cases/**/*.py" = ["UP"]
55-
# Generated protobuf files:
56-
# TODO: Re-run sync_tensorflow_protobuf_stubs.sh with this rule enabled to remove this entry
57-
"*_pb2.pyi" = [
58-
"UP036", # Version block is outdated for minimum Python version
59-
]
60-
61-
[tool.ruff.lint.per-file-ignores]
6255
"*.pyi" = [
6356
# Most flake8-bugbear rules don't apply for third-party stubs like typeshed,
6457
# B033 could be slightly useful but Ruff doesn't have per-file select
6558
"B", # flake8-bugbear
6659
]
60+
# Generated protobuf files:
61+
# TODO: Re-run sync_tensorflow_protobuf_stubs.sh with this rule enabled to remove this entry
62+
"*_pb2.pyi" = [
63+
"UP036", # Version block is outdated for minimum Python version
64+
]
6765

6866
[tool.ruff.lint.isort]
6967
split-on-trailing-comma = false

0 commit comments

Comments
 (0)