Skip to content
Snippets Groups Projects
Verified Commit f352f009 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Apply suggestions

parent 10940d16
No related branches found
No related tags found
1 merge request!201Add imported products
......@@ -29,7 +29,7 @@ class Iptrunk(IptrunkProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
class ImportedIptrunkInactive(SubscriptionModel, is_base=True):
"""An IP trunk that is inactive."""
"""An imported IP trunk that is inactive."""
iptrunk: IptrunkBlockInactive
......@@ -37,6 +37,6 @@ class ImportedIptrunkInactive(SubscriptionModel, is_base=True):
class ImportedIptrunk(
ImportedIptrunkInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
"""An IP trunk that is active."""
"""An imported IP trunk that is active."""
iptrunk: IptrunkBlock
......@@ -104,3 +104,12 @@ ban-relative-imports = "all"
[tool.ruff.isort]
known-third-party = ["pydantic", "migrations"]
known-first-party = ["test", "docs"]
[tool.pytest.ini_options]
markers = [
"noautofixt"
]
filterwarnings = [
"ignore",
"default:::gso",
]
......@@ -5,7 +5,6 @@ pycountry==22.3.5
pynetbox==7.2.0
celery-redbeat==2.1.1
celery==5.3.4
typer==0.7.0
# Test and linting dependencies
celery-stubs==0.1.3
......
......@@ -2,7 +2,8 @@
envlist = py311
[pytest]
markers = workflow
markers = "workflow,noautofixt"
filterwarnings = "ignore,default:::gso"
[testenv]
passenv = DATABASE_URI_TEST,SKIP_ALL_TESTS,ENVIRONMENT_IGNORE_MUTATION_DISABLED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment