We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfddca5 commit bd30826Copy full SHA for bd30826
.github/workflows/linters.yml
@@ -0,0 +1,38 @@
1
+name: Linters
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ flake8:
8
+ name: flake8
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v2
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v2
15
+ with:
16
+ python-version: 3.9
17
+ - run: pip3 install flake8
18
+ - name: flake8
19
+ uses: liskin/gh-problem-matcher-wrap@v1
20
21
+ linters: flake8
22
+ run: flake8
23
24
+ isort:
25
26
27
28
29
30
31
32
33
+ - run: pip3 install isort
34
+ - name: isort
35
36
37
+ linters: isort
38
+ run: isort --check --diff django tests scripts
0 commit comments