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.
1 parent 29950bb commit 8527f08Copy full SHA for 8527f08
.github/workflows/python-lint.yml
@@ -0,0 +1,30 @@
1
+name: flake8 Lint
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths: ['.github/workflows/python-lint.yml', '**/*.py']
8
+ pull_request:
9
+ types: [opened, synchronize, reopened]
10
11
12
+concurrency:
13
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
14
+ cancel-in-progress: true
15
16
+jobs:
17
+ flake8-lint:
18
+ runs-on: ubuntu-latest
19
+ name: Lint
20
+ steps:
21
+ - name: Check out source repository
22
+ uses: actions/checkout@v4
23
+ - name: Set up Python environment
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version: "3.11"
27
+ - name: flake8 Lint
28
+ uses: py-actions/flake8@v2
29
30
+ plugins: "flake8-no-print"
0 commit comments