File tree Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - uses : actions/checkout@v3
11
- - name : Set up Python 3.10
12
- uses : actions/setup-python@v2
13
- with :
14
- python-version : " 3.10"
15
-
16
- - name : Install requirements
17
- run : |
18
- pip install pipx
19
- pipx install cookiecutter
20
- pipx runpip cookiecutter install -r requirements.txt
10
+ - uses : actions/checkout@v3
11
+ - name : Set up Python 3.10
12
+ uses : actions/setup-python@v4
13
+ with :
14
+ python-version : " 3.10"
21
15
22
- - name : Linting code by flake8
23
- run : |
24
- pipx run flake8 --show-source --statistics
25
-
26
- - name : Check types by pyright
27
- run : |
28
- pipx run pyright
16
+ - name : Install requirements
17
+ run : |
18
+ pip install flake8 pyright
19
+ pip install -r requirements.txt
20
+
21
+ - name : Linting code by flake8
22
+ run : |
23
+ flake8 --show-source --statistics
24
+
25
+ - name : Check types by pyright
26
+ run : |
27
+ pyright
You can’t perform that action at this time.
0 commit comments