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 676cb4b
Show file tree
Hide file tree
Showing 2 changed files with 2 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
4 changes: 1 addition & 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,7 +20,7 @@ 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
Expand Down

0 comments on commit 676cb4b

Please sign in to comment.