diff --git a/crossplane/function/runtime.py b/crossplane/function/runtime.py index fd5f44e..1fa5a43 100644 --- a/crossplane/function/runtime.py +++ b/crossplane/function/runtime.py @@ -83,7 +83,6 @@ def serve( if creds is not None: server.add_secure_port(address, creds) - # TODO(negz): Does this override add_secure_port? if insecure: server.add_insecure_port(address) diff --git a/pyproject.toml b/pyproject.toml index c2b374b..388d214 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,7 +103,7 @@ ignore = ["ISC001"] # Ruff warns this is incompatible with ruff format. "tests/*" = ["D"] # Don't require docstrings for tests. [tool.ruff.isort] -known-first-party = ["function"] +known-first-party = ["crossplane"] [tool.ruff.lint.pydocstyle] convention = "google"