File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 22AutoDuck /* .fmt text eol =crlf
33* .dsp text eol =crlf
44* .dsw text eol =crlf
5+ * .py text eol =crlf
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ jobs:
127127 if-no-files-found : error
128128
129129 merge :
130- runs-on : windows -latest
130+ runs-on : ubuntu -latest
131131 needs : [test, build_arm64]
132132 steps :
133133 - name : Merge Artifacts
@@ -142,7 +142,7 @@ jobs:
142142
143143 # This job can be run locally by running `pre-commit run`
144144 checkers :
145- runs-on : windows-2022
145+ runs-on : ubuntu-latest
146146 timeout-minutes : 30
147147 steps :
148148 - uses : actions/checkout@v4
@@ -167,14 +167,16 @@ jobs:
167167 - run : |
168168 clang-format --Werror --dry-run $(git ls-files '*.cpp' ':!:com/win32comext/mapi/src/MAPIStubLibrary/')
169169 if ($LastExitCode -ne 0) { exit $LastExitCode }
170+ shell: pwsh
170171 if: ${{ !cancelled() }}
171172 - run : |
172173 clang-format --Werror --dry-run $(git ls-files '*.h' ':!:Pythonwin/Scintilla/' ':!:com/win32comext/mapi/src/MAPIStubLibrary/')
173174 if ($LastExitCode -ne 0) { exit $LastExitCode }
175+ shell: pwsh
174176 if: ${{ !cancelled() }}
175177
176178 type-checkers :
177- runs-on : windows-2022
179+ runs-on : ubuntu-latest
178180 timeout-minutes : 30
179181 strategy :
180182 fail-fast : false
Original file line number Diff line number Diff line change 11[mypy]
22show_column_numbers = true
3+ ; Needs to be set for non-Windows CI runners
4+ platform = win32
35; Target the oldest supported version in editors and default CLI
46python_version = 3.8
57
Original file line number Diff line number Diff line change 11{
22 "typeCheckingMode" : " basic" ,
3+ // Needs to be set for non-Windows CI runners
4+ "pythonPlatform" : " Windows" ,
35 // Target the oldest supported version in editors and default CLI
46 "pythonVersion" : " 3.9" ,
57 // Keep it simple for now by allowing both mypy and pyright to use `type: ignore`
68 "enableTypeIgnoreComments" : true ,
79 // Exclude from scanning when running pyright
810 "exclude" : [
911 " .git/" , // Avoids scanning git branch names ending in ".py"
12+ " .venv/" ,
1013 " build/" ,
1114 // Vendored
1215 " Pythonwin/Scintilla/" ,
1619 " **/Test/" ,
1720 " **/test/" ,
1821 " **/Demos/" ,
22+ " **/demos/" ,
1923 " **/demo/" ,
2024 ],
2125 // Packages that will be accessible globally.
You can’t perform that action at this time.
0 commit comments