File tree Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change
1
+ # This file is managed by 'repo_helper'. Don't edit it directly.
2
+ ---
3
+ name : Flake8
4
+
5
+ on :
6
+ push :
7
+ pull_request :
8
+ branches : ["master"]
9
+
10
+ jobs :
11
+ Run :
12
+ name : " Flake8"
13
+ runs-on : " ubuntu-18.04"
14
+
15
+ steps :
16
+ - name : Checkout 🛎️
17
+ uses : " actions/checkout@v2"
18
+
19
+ - name : Setup Python 🐍
20
+ uses : " actions/setup-python@v2"
21
+ with :
22
+ python-version : " 3.8"
23
+
24
+ - name : Install dependencies 🔧
25
+ run : |
26
+ python -VV
27
+ python -m site
28
+ python -m pip install --upgrade pip setuptools wheel
29
+ python -m pip install .
30
+
31
+ - name : " Run Flake8"
32
+ run : " python -m flake8_github_action flake8_github_action"
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 39
39
40
40
# 3rd party
41
41
import click
42
- import flake8 .main .application
43
- from flake8 .formatting .base import BaseFormatter
44
- from flake8_json_reporter .reporters import DefaultJSON
42
+ import flake8 .main .application # type: ignore
43
+ from flake8 .formatting .base import BaseFormatter # type: ignore
44
+ from flake8_json_reporter .reporters import DefaultJSON # type: ignore
45
45
46
46
__all__ = ["Application" , "JsonFormatter" ]
47
47
You can’t perform that action at this time.
0 commit comments