Skip to content

Commit b776582

Browse files
authored
Merge pull request #8 from negz/known
Use crossplane.* as known first party import
2 parents 8e19a23 + 383783c commit b776582

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crossplane/function/runtime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def serve(
8383
if creds is not None:
8484
server.add_secure_port(address, creds)
8585

86-
# TODO(negz): Does this override add_secure_port?
8786
if insecure:
8887
server.add_insecure_port(address)
8988

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ignore = ["ISC001"] # Ruff warns this is incompatible with ruff format.
103103
"tests/*" = ["D"] # Don't require docstrings for tests.
104104

105105
[tool.ruff.isort]
106-
known-first-party = ["function"]
106+
known-first-party = ["crossplane"]
107107

108108
[tool.ruff.lint.pydocstyle]
109109
convention = "google"

0 commit comments

Comments
 (0)