Skip to content

Commit 95e7c73

Browse files
committed
Update superlinter to exclude grpc directory
1 parent 3a3879b commit 95e7c73

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ jobs:
6363
VALIDATE_TYPESCRIPT_STANDARD: false
6464
VALIDATE_GIT_COMMITLINT: false
6565
PYTHON_MYPY_CONFIG_FILE: .mypy.ini
66-
FILTER_REGEX_INCLUDE: ".*src/**/*"
66+
FILTER_REGEX_INCLUDE: ".*src/(?!a2a/grpc/).*"
6767
PYTHON_RUFF_CONFIG_FILE: .ruff.toml

0 commit comments

Comments
 (0)