File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,11 @@ jobs:
2020 - name : Install dependencies
2121 run : |
2222 python -m pip install --upgrade pip
23- python -m pip install pipenv
24- continue-on-error : true
25- - name : Configure environment
26- run : |
27- python -c "import sys; print(sys.executable)"
28- pipenv install --python python -d
23+ python -m pip install bandit flake8 pylint
2924 continue-on-error : true
3025 - name : Bandit syntax check
31- run : pipenv run bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
26+ run : bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
3227 - name : Lint with pylint and flake8
3328 run : |
34- pipenv run python .lint.py
35- pipenv run flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503 --exit-zero
29+ python .lint.py
30+ flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503 --exit-zero
You can’t perform that action at this time.
0 commit comments