mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
CI: ignore PLC0415 in ruff (imports outside top level)
This commit is contained in:
@@ -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 = """
|
||||||
|
|||||||
@@ -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
|
||||||
|
]
|
||||||
|
|||||||
@@ -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": (
|
||||||
|
|||||||
Reference in New Issue
Block a user