File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
name : Python Linting
10
- runs-on : ubuntu-20 .04
10
+ runs-on : ubuntu-24 .04
11
11
steps :
12
12
- uses : actions/checkout@v4
13
13
14
+ - name : Install Python
15
+ uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
16
+ with :
17
+ python-version : ' 3.13'
18
+
14
19
- name : Install Python Deps
15
- run : python3 -m pip install flake8
20
+ run : pip install flake8
16
21
17
22
- name : Lint micropython/modules_py
18
23
shell : bash
19
24
run : |
20
- python3 -m flake8 --show-source --ignore E501 micropython/modules_py
25
+ flake8 --show-source --ignore E501 micropython/modules_py
21
26
22
27
- name : Lint micropython/examples
23
28
shell : bash
24
29
run : |
25
- python3 -m flake8 --show-source --ignore E501 micropython/examples
30
+ flake8 --show-source --ignore E501 micropython/examples
26
31
27
32
- name : Lint .py tools in C++ examples
28
33
shell : bash
29
34
run : |
30
- python3 -m flake8 --show-source --ignore E501 examples
35
+ flake8 --show-source --ignore E501 examples
You can’t perform that action at this time.
0 commit comments