Merge pull request #8 from negz/known
Use crossplane.* as known first party import
This commit is contained in:
commit
b776582698
|
@ -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)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue