Skip to content

Commit

Permalink
Fix megalinter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JudsonStevens committed Dec 17, 2023
1 parent 84b8648 commit beca891
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beca891

Please sign in to comment.