We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d303b0f + 5bbac16 commit ed22ac7Copy full SHA for ed22ac7
.github/workflows/linters.yml
@@ -0,0 +1,36 @@
1
+name: Linting
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ lint:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v2
18
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v2
21
+ with:
22
+ python-version: '3.x'
23
24
+ - name: Install dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ pip install isort flake8 black
28
29
+ - name: Run isort
30
+ run: isort . --check-only
31
32
+ - name: Run flake8
33
+ run: flake8 .
34
35
+ - name: Run black
36
+ run: black . --check
0 commit comments