Skip to content

Commit 0743dab

Browse files
committed
Update superlinter exclude for grpc
1 parent 3a3879b commit 0743dab

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/linters/.ruff.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ exclude = [
8282
"venv",
8383
"*/migrations/*",
8484
"noxfile.py",
85-
"src/a2a/grpc/a2a_pb2_grpc.py",
86-
"src/a2a/grpc/a2a_pb2.py",
87-
"src/a2a/grpc/a2a_pb2.pyi",
85+
"src/a2a/grpc/**",
8886
]
8987

9088
[lint.isort]
@@ -144,9 +142,7 @@ inline-quotes = "single"
144142
[format]
145143
exclude = [
146144
"types.py",
147-
"src/a2a/grpc/a2a_pb2_grpc.py",
148-
"src/a2a/grpc/a2a_pb2.py",
149-
"src/a2a/grpc/a2a_pb2.pyi",
145+
"src/a2a/grpc/**",
150146
]
151147
docstring-code-format = true
152148
docstring-code-line-length = "dynamic" # Or set to 80

.github/workflows/linter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,5 @@ jobs:
6464
VALIDATE_GIT_COMMITLINT: false
6565
PYTHON_MYPY_CONFIG_FILE: .mypy.ini
6666
FILTER_REGEX_INCLUDE: ".*src/**/*"
67+
FILTER_REGEX_EXCLUDE: "**/grpc/**/*"
6768
PYTHON_RUFF_CONFIG_FILE: .ruff.toml

0 commit comments

Comments
 (0)