File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 run : uv run --frozen -- poe check-code
4242 shell : bash
4343
44+ - name : Check code (ty)
45+ if : false
46+ run : uv run --frozen -- poe check-code-ty
47+ shell : bash
48+
4449 - name : Unit tests
4550 run : uv run --frozen -- pytest --cov=python_template --cov-branch tests/unit
4651 shell : bash
Original file line number Diff line number Diff line change @@ -6,21 +6,22 @@ dependencies = [
66 " aiohttp>=3.13.2" ,
77 " azure-cosmos>=4.14.2" ,
88 " azure-monitor-opentelemetry>=1.8.2" ,
9- " fastapi[standard-no-fastapi-cloud-cli]>=0.121.3 " ,
10- " pydantic>=2.12.4 " ,
9+ " fastapi[standard-no-fastapi-cloud-cli]>=0.123.0 " ,
10+ " pydantic>=2.12.5 " ,
1111 " pydantic-settings[azure-key-vault]>=2.12.0" ,
1212]
1313
1414[dependency-groups ]
1515dev = [
1616 " jupyter>=1.1.1" ,
17- " poethepoet>=0.37 .0" ,
17+ " poethepoet>=0.38 .0" ,
1818 " pyright[nodejs]>=1.1.407" ,
1919 " pytest>=9.0.1" ,
2020 " pytest-asyncio>=1.3.0" ,
2121 " pytest-cov>=7.0.0" ,
2222 " pytest-mock>=3.15.1" ,
23- " ruff>=0.14.6" ,
23+ " ruff>=0.14.7" ,
24+ " ty>=0.0.1a29" ,
2425]
2526
2627[build-system ]
@@ -60,3 +61,4 @@ asyncio_default_fixture_loop_scope = "function"
6061
6162[tool .poe .tasks ]
6263check-code.shell = " ruff check && ruff format --diff && pyright"
64+ check-code-ty.shell = " ruff check && ruff format --diff && ty check"
You can’t perform that action at this time.
0 commit comments