File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 pull_request :
88 branches : [ "master" ]
99 workflow_dispatch : {}
10+
1011jobs :
1112 tests :
1213 runs-on : ${{ matrix.os }}
1314 strategy :
1415 fail-fast : false
1516 matrix :
16- os : [ ubuntu-latest, windows-latest ] # add macos-latest if you want
17+ os : [ ubuntu-latest, windows-latest ] # add macos-latest if you want
1718 python-version : [ "3.10", "3.11", "3.12" ]
1819
1920 env :
20- PYTHONUTF8 : " 1" # stable UTF-8 across OSes
21+ PYTHONUTF8 : " 1" # stable UTF-8 across OSes
2122
2223 steps :
2324 - name : Checkout
3233 pyproject.toml
3334 requirements*.txt
3435
35- # Optional: nudge Windows console to UTF-8 if you see garbled Greek
36+ # Optional: ensure UTF-8 console on Windows (helps with Greek text)
3637 - name : Ensure UTF-8 codepage (Windows)
3738 if : runner.os == 'Windows'
3839 run : chcp 65001
@@ -42,11 +43,18 @@ jobs:
4243 run : |
4344 python -m pip install -U pip
4445 pip install ".[dev]" || pip install .
46+
4547 - name : Lint (ruff)
4648 run : ruff check .
49+
4750 - name : Format check (black)
4851 run : black --check .
52+
4953 - name : Type check (mypy)
50- run : mypy src
54+ run : |
55+ mypy --version
56+ mypy --show-config
57+ mypy src --config-file pyproject.toml --pretty --show-error-codes
58+
5159 - name : Tests
5260 run : pytest -q
You can’t perform that action at this time.
0 commit comments