Skip to content

Commit 7f5cfa4

Browse files
committed
Update MegaLinter config to enable Bandit and Black after bugs fixed
1 parent 6332b98 commit 7f5cfa4

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
@@ -41,7 +41,7 @@ jobs:
4141
id: ml
4242
# You can override Mega-Linter flavor used to have faster performance
4343
# More info at https://megalinter.github.io/flavors/
44-
uses: megalinter/megalinter/flavors/python@v5
44+
uses: megalinter/megalinter/flavors/python@beta
4545
env:
4646
# All available variables are described in documentation
4747
# https://megalinter.github.io/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: .bandit.yml
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)