File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed
Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Original file line number Diff line number Diff line change 1- on : [push, pull_request]
2- name : Python Linting
1+ name : Lint
32
4- permissions :
5- contents : read
3+ on : [push, pull_request]
64
75jobs :
8- PythonLinting :
9- name : Python linting
6+ run-linters :
7+ name : Run linters
108 runs-on : ubuntu-latest
9+
1110 steps :
12- - uses : actions/checkout@master
13- - name : Konstruktoid Python linting
14- uses : konstruktoid/action-pylint@master
11+ - name : Check out Git repository
12+ uses : actions/checkout@v2
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v1
16+ with :
17+ python-version : 3.9
18+
19+ - name : Install Python dependencies
20+ run : pip install black flake8
21+
22+ - name : Run linters
23+ uses : wearerequired/lint-action@v1
24+ with :
25+ black : true
26+ flake8 : true
27+ flake8_args : --ignore=E501
28+ auto_fix : true
29+ continue_on_error : false
You can’t perform that action at this time.
0 commit comments