File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ name: Python CI Tests
3
3
4
4
on : # yamllint disable-line rule:truthy
5
5
push :
6
- branches : [" main" ]
6
+ branches : [' main' ]
7
7
pull_request :
8
8
# The branches below must be a subset of the branches above
9
- branches : [" main" ]
9
+ branches : [' main' ]
10
10
workflow_dispatch :
11
11
12
12
env :
13
13
LOG_LEVEL : INFO
14
14
15
15
jobs :
16
16
build :
17
- name : " Run CI"
17
+ name : ' Run CI'
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- os : [" ubuntu-24.04", " macos-14", " windows-2022" ]
22
- python : [" 3.10", " 3.11", " 3.12" ]
21
+ os : [' ubuntu-24.04', ' macos-14', ' windows-2022' ]
22
+ python : [' 3.10', ' 3.11', ' 3.12' ]
23
23
runs-on : ${{ matrix.os }}
24
24
steps :
25
25
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
49
49
run : |
50
50
python3 -m pycodestyle --statistics src/
51
51
52
+ - name : Styling (autopep8)
53
+ run : |
54
+ python3 -m autopep8 --diff --recursive --exit-code --verbose .
52
55
- name : Test
53
56
run : >
54
57
coverage run -m pytest --verbose
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ test/styling/json: dependencies
85
85
86
86
test/styling/sources : dependencies
87
87
${RUNTIME_TOOL} -m pycodestyle --statistics src/
88
+ ${RUNTIME_TOOL} -m autopep8 --diff --recursive --exit-code --verbose .
88
89
89
90
test/styling : dependencies test/styling/sources test/styling/json
90
91
You can’t perform that action at this time.
0 commit comments