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 Aug 28, 2021
1 parent 5923970 commit 10f321e
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 @@ -46,7 +46,7 @@ jobs:
id: ml
# You can override Mega-Linter flavor used to have faster performance
# More info at https://nvuillam.github.io/mega-linter/flavors/
uses: nvuillam/mega-linter/flavors/python@v4
uses: nvuillam/mega-linter@insiders # Switch back to flavors/python@v4 when done testing
env:
# All available variables are described in documentation
# https://nvuillam.github.io/mega-linter/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 10f321e

Please sign in to comment.