From 7f5cfa4ab65cfbffc8d345d05e85b05d7de61eb5 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Fri, 27 Aug 2021 19:53:09 -0500 Subject: [PATCH] Update MegaLinter config to enable Bandit and Black after bugs fixed --- .github/workflows/mega-linter.yaml | 2 +- .mega-linter.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mega-linter.yaml b/.github/workflows/mega-linter.yaml index 49d7e29..7abcd0e 100644 --- a/.github/workflows/mega-linter.yaml +++ b/.github/workflows/mega-linter.yaml @@ -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/flavors/python@beta env: # All available variables are described in documentation # https://megalinter.github.io/configuration/ diff --git a/.mega-linter.yml b/.mega-linter.yml index 3e72f68..147e9a1 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -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 @@ -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: .bandit.yml 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