File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ name: Python CI Tests
33
44on : # yamllint disable-line rule:truthy
55 push :
6- branches : [" main" ]
6+ branches : [' main' ]
77 pull_request :
88 # The branches below must be a subset of the branches above
9- branches : [" main" ]
9+ branches : [' main' ]
1010 workflow_dispatch :
1111
1212env :
1313 LOG_LEVEL : INFO
1414
1515jobs :
1616 build :
17- name : " Run CI"
17+ name : ' Run CI'
1818 strategy :
1919 fail-fast : false
2020 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' ]
2323 runs-on : ${{ matrix.os }}
2424 steps :
2525 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4949 run : |
5050 python3 -m pycodestyle --statistics src/
5151
52+ - name : Styling (autopep8)
53+ run : |
54+ python3 -m autopep8 --diff --exit-code --verbose src/**/*.py
55+
5256 - name : Test
5357 run : >
5458 coverage run -m pytest --verbose
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ test/styling/json: dependencies
8585
8686test/styling/sources : dependencies
8787 ${RUNTIME_TOOL} -m pycodestyle --statistics src/
88+ ${RUNTIME_TOOL} -m autopep8 --diff --recursive --exit-code --verbose .
8889
8990test/styling : dependencies test/styling/sources test/styling/json
9091
You can’t perform that action at this time.
0 commit comments