CI: ignore PLC0415 in ruff (imports outside top level)

This commit is contained in:
missytake
2025-06-28 18:02:07 +02:00
parent 8a59d94105
commit 1f5b2e947c
3 changed files with 7 additions and 5 deletions

View File

@@ -48,6 +48,9 @@ lint.select = [
"PLE", # Pylint Error "PLE", # Pylint Error
"PLW", # Pylint Warning "PLW", # Pylint Warning
] ]
lint.ignore = [
"PLC0415" # import-outside-top-level
]
[tool.tox] [tool.tox]
legacy_tox_ini = """ legacy_tox_ini = """

View File

@@ -41,3 +41,6 @@ lint.select = [
"PLE", # Pylint Error "PLE", # Pylint Error
"PLW", # Pylint Warning "PLW", # Pylint Warning
] ]
lint.ignore = [
"PLC0415" # import-outside-top-level
]

View File

@@ -458,11 +458,7 @@ def check_config(config):
def deploy_mtail(config): def deploy_mtail(config):
# Uninstall mtail package, we are going to install a static binary. # Uninstall mtail package, we are going to install a static binary.
apt.packages( apt.packages(name="Uninstall mtail", packages=["mtail"], present=False)
name="Uninstall mtail",
packages=["mtail"],
present=False
)
(url, sha256sum) = { (url, sha256sum) = {
"x86_64": ( "x86_64": (