-
Notifications
You must be signed in to change notification settings - Fork 8
53 lines (41 loc) · 1017 Bytes
/
linting.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Linting
on: [push, pull_request]
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pylint
run: |
pip install --upgrade pip
pip install pylint==3.0.3
pip install -r requirements.txt
- name: Run pylint
run: |
pylint kronfluence
isort:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install isort
run: |
pip install --upgrade pip
pip install isort==5.13.2
- name: Run isort
run: |
isort --profile black kronfluence
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1