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 50d4792 + 188e308 commit 95eb54cCopy full SHA for 95eb54c
.github/workflows/python-app.yml
@@ -0,0 +1,26 @@
1
+name: Python
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python 3.8
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: 3.8
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install flake8
22
+ - name: Lint with flake8
23
24
+ # stop the build if there are Python syntax errors or undefined names
25
+ flake8 . --count --max-line-length=100 --show-source --statistics
26
0 commit comments