We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9176f2e commit daa5635Copy full SHA for daa5635
.github/workflows/lint.yml
@@ -0,0 +1,27 @@
1
+name: Lint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ run-linters:
7
+ name: Run linters
8
+ runs-on: ubuntu-latest
9
10
+ steps:
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.8
18
19
+ - name: Install Python dependencies
20
+ run: pip install black flake8
21
22
+ - name: Run linters
23
+ uses: wearerequired/lint-action@v2
24
25
+ github_token: ${{ secrets.GITHUB_TOKEN }}
26
+ black: true
27
+ auto_fix: true
0 commit comments