Skip to content

Commit 10f321e

Browse files
committed
Update MegaLinter config to enable Bandit and Black after bugs fixed
1 parent 5923970 commit 10f321e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/mega-linter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: ml
4747
# You can override Mega-Linter flavor used to have faster performance
4848
# More info at https://nvuillam.github.io/mega-linter/flavors/
49-
uses: nvuillam/mega-linter/flavors/python@v4
49+
uses: nvuillam/mega-linter@insiders # Switch back to flavors/python@v4 when done testing
5050
env:
5151
# All available variables are described in documentation
5252
# https://nvuillam.github.io/mega-linter/configuration/

.mega-linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
# - SPELL # Uncomment to disable checks of spelling mistakes
99
DISABLE_LINTERS:
1010
- MARKDOWN_MARKDOWN_TABLE_FORMATTER # Unable to locally autoformat tables
11-
- PYTHON_BANDIT # Unable to set to use repo config file; re-enable when fixed
12-
- PYTHON_BLACK # Version in Mega-Linter doesn't yet support Python 3.9
1311
- PYTHON_MYPY # Managed externally; relies on locally installed packages
1412
- PYTHON_PYLINT # Managed externally; relies on locally installed packages
1513
- SPELL_CSPELL # Vast number of false positives
@@ -22,9 +20,11 @@ FORMATTERS_DISABLE_ERRORS: false
2220
SHOW_ELAPSED_TIME: true
2321

2422
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: LINTER_DEFAULT
25-
# PYTHON_BANDIT_CONFIG_FILE: LINTER_DEFAULT # Uncomment when Bandit config supported
23+
PYTHON_BANDIT_CONFIG_FILE: LINTER_DEFAULT
2624
PYTHON_BLACK_CONFIG_FILE: LINTER_DEFAULT
2725
PYTHON_FLAKE8_CONFIG_FILE: LINTER_DEFAULT
2826
PYTHON_ISORT_CONFIG_FILE: LINTER_DEFAULT
2927
YAML_PRETTIER_CONFIG_FILE: LINTER_DEFAULT
3028
YAML_YAMLLINT_CONFIG_FILE: LINTER_DEFAULT
29+
30+
LOG_LEVEL: DEBUG # Temporarily added to debug mega-linter

0 commit comments

Comments
 (0)