diff --git a/.mega-linter.yml b/.mega-linter.yml index 83cd168..c968aed 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -21,6 +21,7 @@ DISABLE_ERRORS_LINTERS: - REPOSITORY_SEMGREP DOCKERFILE_HADOLINT_ARGUMENTS: "--ignore DL3008 --ignore DL3018 --ignore DL3013 --ignore DL3059 --ignore DL3005" COPYPASTE_JSCPD_ARGUMENTS: "--ignore '**/handlers/**,**/vector*'" +COPYPASTE_JSCPD_DISABLE_ERRORS_IF_LESS_THAN: 28 MARKDOWN_MARKDOWN_LINK_CHECK_CONFIG_FILE: ".markdown-link-check-config.json" MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true REPOSITORY_CHECKOV_DISABLE_ERRORS: true diff --git a/pyproject.toml b/pyproject.toml index 21a4798..06cffb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -92,13 +92,13 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Python 3.10. target-version = "py310" +[tool.ruff] +# Ignore a variety of commonly ignored directories. +ignore = ["databases/**"] + [tool.ruff.mccabe] max-complexity = 10 -[tool.ruff.ignore] -# Ignore a variety of commonly ignored directories. -exclude = ["databases/**"] - [tool.ruff.per-file-ignores] "**/database/*" = [ "A003", # We should allow shadowing