Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
with:
enable-cache: true
python-version: ${{ matrix.python }}
- name: "Set up Python"
run: uv python install ${{ matrix.python }}
- name: Setup Clang
uses: egor-tensin/setup-clang@v1
with:
Expand All @@ -31,6 +29,6 @@ jobs:
- name: Install the project
run: uv sync
- name: Type checks
run: uv run mypy *.py --check-untyped-defs
run: uv run ty check .
- name: Tests
run: uv run python -m unittest discover --verbose .
9 changes: 0 additions & 9 deletions mypy.ini

This file was deleted.

8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Repository = "https://github.com/jbcoe/py_cppmodel"
dev = [
"ipython>=8.12.3",
"jupyter>=1.1.1",
"mypy>=1.19.1",
"parameterized>=0.9.0",
"pre-commit>=4.5.1",
"ty>=0.0.14",
]

[build-system]
Expand Down Expand Up @@ -62,3 +62,9 @@ force-single-line = true

[tool.ruff.format]
quote-style = "double"

[[tool.ty.overrides]]
include = ["py_cppmodel.py"]

[tool.ty.overrides.rules]
unresolved-attribute = "ignore"
2 changes: 1 addition & 1 deletion test.macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
uv sync

# Type checks
uv run mypy *.py --check-untyped-defs
uv run ty check .

# Unit tests
uv run python -m unittest discover --verbose .
Loading