Update bandit settings and add a wrapper for os clear (#905)

* Add bandit to dev requirements

* Adding bandit exceptions

* Wrap system clear os call

* Apply black
This commit is contained in:
Artem Veremey
2021-11-03 11:05:14 -07:00
committed by GitHub
parent f3d6dd1db1
commit f608cdb88d
45 changed files with 104 additions and 93 deletions

View File

@@ -28,7 +28,7 @@ jobs:
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.10.2
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil
- run: bandit -r . || true
- run: bandit -x ./tests -r . || true
- run: black --check .
- run: codespell --ignore-words-list=pres,hsi,hist,mape,ba,ser,coo --quiet-level=2 --skip=".git" --skip="*.yaml" --skip="*.ipynb" --skip="*.json" --skip="*.js" --skip="*.css" --skip="*.scss" --skip="*.html" --skip="*.ini" --skip="*.lock" --skip="*.csv"
- run: flake8 . --count --ignore=E203,W503 --max-line-length=122 --show-source --statistics