Skip to content

Commit 37dcf79

Browse files
committed
set mypy to target 3.8 by default
1 parent 31a2586 commit 37dcf79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: steps.cache.outputs.cache-hit == 'true'
3333
run: timeout 10s poetry run pip --version || rm -rf .venv
3434
- run: poetry install
35-
- run: poetry run mypy -p basedtyping -p tests
35+
- run: poetry run mypy -p basedtyping -p tests --python-version ${{ matrix.python-version }}
3636
- run: poetry run pytest tests/
3737

3838
lint:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ build-backend = "poetry.core.masonry.api"
2323
requires = ["poetry-core>=1.0.8"]
2424

2525
[tool.mypy]
26+
python_version = 3.8
2627
pretty = true
2728
show_error_context = true
2829

0 commit comments

Comments
 (0)