File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 88 strategy :
99 fail-fast : false
1010 matrix :
11- os : [ubuntu-latest, windows-latest, macOS-latest, ubuntu-16.04 ]
11+ os : [ubuntu-latest, windows-latest, macOS-latest]
1212 python-version : [3.6, 3.7]
1313
1414 steps :
@@ -20,11 +20,12 @@ jobs:
2020 - name : Install dependencies
2121 run : |
2222 python -m pip install --upgrade pip
23- python -m pip install bandit flake8 pylint
23+ python -m pip install bandit flake8 pylint black
2424 continue-on-error : true
2525 - name : Bandit syntax check
2626 run : bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
27- - name : Lint with pylint and flake8
28- run : |
29- pylint ./bot.py cogs/*.py core/*.py --disable=import-error --exit-zero -r y
27+ - name : Pylint
28+ run : pylint ./bot.py cogs/*.py core/*.py --disable=import-error --exit-zero -r y
29+ - name : Flake8 and black lint
3030 flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503
31+ black . --check
You can’t perform that action at this time.
0 commit comments