File tree 3 files changed +12
-18
lines changed
3 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -40,25 +40,20 @@ concurrency:
40
40
41
41
jobs :
42
42
ruff :
43
- runs-on : ${{ matrix.os }}
44
- strategy :
45
- fail-fast : false
46
- # Ruff is version and platform sensible
47
- matrix :
48
- os : [windows-latest, ubuntu-22.04]
49
- python-version : ["3.11", "3.12", "3.13"]
43
+ runs-on : ubuntu-22.04
50
44
steps :
51
45
- name : Checkout ${{ github.repository }}/${{ github.ref }}
52
46
uses : actions/checkout@v4
53
- - name : Set up Python ${{ matrix.python-version }}
54
- uses : actions/setup-python@v5
55
- with :
56
- python-version : ${{ matrix.python-version }}
57
- cache : " pip"
58
- cache-dependency-path : " scripts/requirements*.txt"
59
- - run : scripts/install.ps1
47
+ - name : Get Ruff version
48
+ id : ruff_version
49
+ run : |
50
+ $Env:RUFF_VERSION=Select-String -path scripts/requirements-dev.txt -pattern 'ruff ?([=<>~]?= ?[\d\.]+)' | %{ $_.Matches[0].Groups[1].Value }
51
+ echo $Env:RUFF_VERSION
52
+ echo "RUFF_VERSION=$Env:RUFF_VERSION" >> $Env:GITHUB_OUTPUT
60
53
shell : pwsh
61
- - run : ruff check .
54
+ - uses : astral-sh/ruff-action@v2
55
+ with :
56
+ version : ${{ steps.ruff_version.outputs.RUFF_VERSION }}
62
57
Pyright :
63
58
runs-on : ${{ matrix.os }}
64
59
strategy :
89
84
uses : jakebailey/pyright-action@v2
90
85
with :
91
86
version : ${{ steps.pyright_version.outputs.PYRIGHT_VERSION }}
92
- extra-args : --threads
93
87
working-directory : src/
94
88
python-version : ${{ matrix.python-version }}
95
89
Build :
Original file line number Diff line number Diff line change 12
12
-r requirements.txt
13
13
#
14
14
# Linters & Formatters
15
- ruff >= 0.8.0 # Pre-commit fix # Must match .pre-commit-config.yaml
15
+ ruff >= 0.8.0
16
16
#
17
17
# Types
18
18
scipy-stubs >= 1.14.1.1
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ psutil>=6.0.0 # Python 3.13 support
12
12
# PyAutoGUI # See install.ps1
13
13
PyWinCtl >= 0.0.42 # py.typed
14
14
# When needed, dev builds can be found at https://download.qt.io/snapshots/ci/pyside/dev?C=M;O=D
15
- PySide6-Essentials >= 6.8.0.2 # Python 3.13 support
15
+ PySide6-Essentials < 6.8.1 # Has typing issue with QMessageBox.warning https://bugreports.qt.io/browse/PYSIDE-2939
16
16
scipy >= 1.14.1 # Python 3.13 support
17
17
tomli-w >= 1.1.0 # Typing fixes
18
18
typing-extensions >= 4.4.0 # @override decorator support
You can’t perform that action at this time.
0 commit comments