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
3 changes: 3 additions & 0 deletions .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- name: Run mypy
run: uv run mypy --strict src/ tests/

- name: Run ty
run: uv run ty check .

test:
runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def lints(session: nox.Session) -> None:
session.run("ruff", "check", "--fix", ".")
session.run("ruff", "format", ".")
session.run("mypy", "--strict", "src/")
session.run("ty", "check", ".")
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The noxfile adds a new static analysis tool 'ty', but there is no configuration for this tool in pyproject.toml (unlike other tools such as [tool.mypy] or [tool.ruff]). If 'ty' requires configuration, consider adding a [tool.ty] section to pyproject.toml with appropriate settings. If no configuration is needed, this comment can be disregarded.

Suggested change
session.run("ty", "check", ".")

Copilot uses AI. Check for mistakes.


@nox.session
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dev = [
"prek>=0.2.28",
"ruff>=0.12.1",
"mypy>=1.16.1",
"ty>=0.0.12",
]
tests = [
"pytest>=8.4.1",
Expand Down
27 changes: 27 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading