Skip to content

Commit f66a6c9

Browse files
committed
types: normalize Path usage in core; mypy clean
1 parent 98659e6 commit f66a6c9

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ on:
77
pull_request:
88
branches: [ "master" ]
99
workflow_dispatch: {}
10+
1011
jobs:
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
@@ -32,7 +33,7 @@ jobs:
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

0 commit comments

Comments
 (0)