mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
remove bandit, too many false positive
This commit is contained in:
parent
b64a2f8195
commit
c57d6c73cc
1
.github/workflows/lint_python.yml
vendored
1
.github/workflows/lint_python.yml
vendored
@ -9,7 +9,6 @@ jobs:
|
|||||||
- run: pip install --upgrade pip wheel
|
- run: pip install --upgrade pip wheel
|
||||||
- run: pip install bandit black codespell flake8 flake8-bugbear
|
- run: pip install bandit black codespell flake8 flake8-bugbear
|
||||||
flake8-comprehensions isort
|
flake8-comprehensions isort
|
||||||
- run: bandit --recursive --skip B105,B108,B404,B603,B607 .
|
|
||||||
- run: black --check --diff --line-length 79 .
|
- run: black --check --diff --line-length 79 .
|
||||||
- run: codespell
|
- run: codespell
|
||||||
- run: flake8 . --count --max-complexity=12 --max-line-length=79
|
- run: flake8 . --count --max-complexity=12 --max-line-length=79
|
||||||
|
@ -86,8 +86,6 @@ function validate {
|
|||||||
|
|
||||||
echo "run validate on $check_path"
|
echo "run validate on $check_path"
|
||||||
|
|
||||||
echo "running bandit"
|
|
||||||
bandit --recursive --skip B105,B108,B404,B603,B607 "$check_path"
|
|
||||||
echo "running black"
|
echo "running black"
|
||||||
black --diff --color --check -l 79 "$check_path"
|
black --diff --color --check -l 79 "$check_path"
|
||||||
echo "running codespell"
|
echo "running codespell"
|
||||||
|
Loading…
Reference in New Issue
Block a user