Skip to content

Commit

Permalink
Update MegaLinter config to enable Bandit and Black after bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Dec 2, 2021
1 parent 6332b98 commit 2c20fe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
id: ml
# You can override Mega-Linter flavor used to have faster performance
# More info at https://megalinter.github.io/flavors/
uses: megalinter/megalinter/flavors/python@v5
uses: megalinter/megalinter@beta
env:
# All available variables are described in documentation
# https://megalinter.github.io/configuration/
Expand Down
6 changes: 3 additions & 3 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# - SPELL # Uncomment to disable checks of spelling mistakes
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_TABLE_FORMATTER # Unable to locally autoformat tables
- PYTHON_BANDIT # Unable to set to use repo config file; re-enable when fixed
- PYTHON_BLACK # Version in Mega-Linter doesn't yet support Python 3.9
- PYTHON_MYPY # Managed externally; relies on locally installed packages
- PYTHON_PYLINT # Managed externally; relies on locally installed packages
- SPELL_CSPELL # Vast number of false positives
Expand All @@ -22,9 +20,11 @@ FORMATTERS_DISABLE_ERRORS: false
SHOW_ELAPSED_TIME: true

MARKDOWN_MARKDOWNLINT_CONFIG_FILE: LINTER_DEFAULT
# PYTHON_BANDIT_CONFIG_FILE: LINTER_DEFAULT # Uncomment when Bandit config supported
PYTHON_BANDIT_CONFIG_FILE: LINTER_DEFAULT
PYTHON_BLACK_CONFIG_FILE: LINTER_DEFAULT
PYTHON_FLAKE8_CONFIG_FILE: LINTER_DEFAULT
PYTHON_ISORT_CONFIG_FILE: LINTER_DEFAULT
YAML_PRETTIER_CONFIG_FILE: LINTER_DEFAULT
YAML_YAMLLINT_CONFIG_FILE: LINTER_DEFAULT

LOG_LEVEL: DEBUG # Temporarily added to debug mega-linter

0 comments on commit 2c20fe9

Please sign in to comment.