Fixing Linting (#1062)

* Updating code : fixing linting

mypy message = Too many arguments for <lambda>

* Updating workflows : allow newest mypy version

* Updating code : apply black

* Updating code : black
This commit is contained in:
Chavithra
2021-12-16 14:03:40 +01:00
committed by GitHub
parent 2f010c5287
commit 73624dcc18
47 changed files with 139 additions and 49 deletions

View File

@@ -26,7 +26,7 @@ jobs:
key: ${{ runner.os }}-linting
restore-keys: ${{ runner.os }}-linting
- run: pip install bandit black codespell flake8 mypy==0.910 pyupgrade safety pylint==2.11.1
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.11.1
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil
- run: bandit -x ./tests -r . || true
- run: black --check .