Skip to content

Commit b17360f

Browse files
committed
fix lint issues
Signed-off-by: Matej Ohradzansky <matohradzansky@gmail.com>
1 parent 642deba commit b17360f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

function/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
help=("Maximum size of sent messages in MB."),
4848
)
4949
def cli(
50-
debug: bool,
50+
debug: bool, # noqa:FBT001
5151
address: str,
5252
tls_certs_dir: str,
53-
insecure: bool,
53+
insecure: bool, # noqa:FBT001
5454
max_recv_message_size: int,
5555
max_send_message_size: int,
56-
) -> None: # noqa:FBT001 # We only expect callers via the CLI.
56+
) -> None: # We only expect callers via the CLI.
5757
"""A Crossplane composition function."""
5858
try:
5959
level = logging.Level.INFO

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,6 @@ convention = "google"
116116
[tool.ruff.lint.pep8-naming]
117117
# gRPC requires this PascalCase function name.
118118
extend-ignore-names = ["RunFunction"]
119+
120+
[tool.ruff.lint.pylint]
121+
max-args = 6

0 commit comments

Comments
 (0)