File tree Expand file tree Collapse file tree 5 files changed +35
-153
lines changed
Expand file tree Collapse file tree 5 files changed +35
-153
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 enable-cache : true
2323 python-version : ${{ matrix.python }}
24- - name : " Set up Python"
25- run : uv python install ${{ matrix.python }}
2624 - name : Setup Clang
2725 uses : egor-tensin/setup-clang@v1
2826 with :
3129 - name : Install the project
3230 run : uv sync
3331 - name : Type checks
34- run : uv run mypy *.py -- check-untyped-defs
32+ run : uv run ty check .
3533 - name : Tests
3634 run : uv run python -m unittest discover --verbose .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ Repository = "https://github.com/jbcoe/py_cppmodel"
1818dev = [
1919 " ipython>=8.12.3" ,
2020 " jupyter>=1.1.1" ,
21- " mypy>=1.19.1" ,
2221 " parameterized>=0.9.0" ,
2322 " pre-commit>=4.5.1" ,
23+ " ty>=0.0.14" ,
2424]
2525
2626[build-system ]
@@ -62,3 +62,9 @@ force-single-line = true
6262
6363[tool .ruff .format ]
6464quote-style = " double"
65+
66+ [[tool .ty .overrides ]]
67+ include = [" py_cppmodel.py" ]
68+
69+ [tool .ty .overrides .rules ]
70+ unresolved-attribute = " ignore"
Original file line number Diff line number Diff line change 44uv sync
55
66# Type checks
7- uv run mypy * .py -- check-untyped-defs
7+ uv run ty check .
88
99# Unit tests
1010uv run python -m unittest discover --verbose .
You can’t perform that action at this time.
0 commit comments