Skip to content

Commit e0a80ee

Browse files
authored
Finish up type checking, add step to CI
1 parent 95708ff commit e0a80ee

File tree

7 files changed

+385
-548
lines changed

7 files changed

+385
-548
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
run: |
3232
uv run --no-managed-python ruff format --check
3333
34+
- name: Type Check
35+
run: |
36+
uv run --no-managed-python ty check
37+
3438
tests:
3539
name: Tests (${{ matrix.os }} | Python ${{ matrix.python-version }})
3640
runs-on: ${{ matrix.os }}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"python-envs.defaultEnvManager": "ms-python.python:venv",
3+
"python-envs.pythonProjects": []
4+
}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113
# -- Options for LaTeX output ------------------------------------------------
114114

115-
latex_elements = {
115+
latex_elements: dict[str, str] = {
116116
# The paper size ('letterpaper' or 'a4paper').
117117
#
118118
# 'papersize': 'letterpaper',

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ dependencies = [
3333
[dependency-groups]
3434
dev = [
3535
"matplotlib>=3.10.7",
36-
"mypy>=1.19.0",
3736
"pytest>=9.0.1",
3837
"pytest-check>=2.6.2",
3938
"ruff>=0.14.8",
4039
"scipy-stubs>=1.15.3.0",
40+
"ty>=0.0.1a32",
4141
]
4242

4343
[project.urls]

0 commit comments

Comments
 (0)