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 8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- os : [ubuntu-latest, windows-latest, macOS-latest, ubuntu-16.04 ]
11
+ os : [ubuntu-latest, windows-latest, macOS-latest]
12
12
python-version : [3.6, 3.7]
13
13
14
14
steps :
@@ -20,11 +20,12 @@ jobs:
20
20
- name : Install dependencies
21
21
run : |
22
22
python -m pip install --upgrade pip
23
- python -m pip install bandit flake8 pylint
23
+ python -m pip install bandit flake8 pylint black
24
24
continue-on-error : true
25
25
- name : Bandit syntax check
26
26
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
30
30
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