Skip to content

Commit 7c52253

Browse files
TimPansinolrafeei
andauthored
Fix megalinter config (#648)
Co-authored-by: Lalleh Rafeei <[email protected]>
1 parent 0c0a7f8 commit 7c52253

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.mega-linter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ PYTHON_PYLINT_CONFIG_FILE: pyproject.toml
3131
PYTHON_ISORT_CONFIG_FILE: pyproject.toml
3232
PYTHON_BANDIT_CONFIG_FILE: pyproject.toml
3333
PYTHON_BANDIT_FILTER_REGEX_EXCLUDE: "tests"
34-
PYTHON_BANDIT_PRE_COMMANDS: ["pip install bandit[toml]"]
34+
PYTHON_BANDIT_PRE_COMMANDS:
35+
- command: "pip install bandit[toml]"
36+
cwd: "workspace"
3537

3638
PYTHON_PYLINT_ARGUMENTS: "--fail-under=0 --fail-on=E"

0 commit comments

Comments
 (0)