File tree Expand file tree Collapse file tree 1 file changed +5
-24
lines changed
Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change 99 - ' **'
1010
1111jobs :
12- flake8 :
12+ pre-commit :
13+ name : Linting
1314 runs-on : ubuntu-latest
1415 steps :
15- - name : Setup Python
16- uses : actions/setup-python@v2
17- with :
18- python-version : 3.8
19- architecture : x64
20- - uses : actions/checkout@v2
21- - name : Install flake8
22- run : pip install flake8
23- - name : Run flake8
24- uses : suo/flake8-github-action@releases/v1
25- with :
26- checkName : ' flake8'
27- env :
28- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29-
30- black :
31- runs-on : ubuntu-latest
32- steps :
33- - uses : actions/checkout@v2
34- - name : Run Black
35- uses : lgeiger/black-action@master
36- with :
37- args : --check src/ tests/
16+ - uses : actions/checkout@v1
17+ - uses : actions/setup-python@v1
18+ - uses : pre-commit/action@v2.0.0
You can’t perform that action at this time.
0 commit comments