Merge pull request #8 from negz/known

Use crossplane.* as known first party import
This commit is contained in:
Nic Cope 2023-11-20 18:42:45 -08:00 committed by GitHub
commit b776582698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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"