From e05098681f326b98c635853a40287ac21f771fa2 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 29 Feb 2024 18:40:10 +0000 Subject: [PATCH] make pyproject.toml valid TOML again (#11510) --- pyproject.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cffa304a4..5908eebe0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,18 +52,16 @@ ignore = [ # deliberately contain code that might not be considered idiomatic or modern # These can be run manually once in a while "**/test_cases/**/*.py" = ["UP"] -# 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.per-file-ignores] "*.pyi" = [ # Most flake8-bugbear rules don't apply for third-party stubs like typeshed, # 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