Skip to content

Commit 3a3879b

Browse files
committed
list specific files in ruff.toml
1 parent e40d976 commit 3a3879b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/linters/.ruff.toml

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

8890
[lint.isort]
@@ -140,7 +142,12 @@ inline-quotes = "single"
140142
"types.py" = ["D", "E501", "N815"] # Ignore docstring and annotation issues in types.py
141143

142144
[format]
143-
exclude = ["types.py", "*pb2*.*"]
145+
exclude = [
146+
"types.py",
147+
"src/a2a/grpc/a2a_pb2_grpc.py",
148+
"src/a2a/grpc/a2a_pb2.py",
149+
"src/a2a/grpc/a2a_pb2.pyi",
150+
]
144151
docstring-code-format = true
145152
docstring-code-line-length = "dynamic" # Or set to 80
146153
quote-style = "single"

0 commit comments

Comments
 (0)