File tree Expand file tree Collapse file tree 3 files changed +33
-68
lines changed
Expand file tree Collapse file tree 3 files changed +33
-68
lines changed Original file line number Diff line number Diff line change 2525 uv run pytest -x --cov
2626
2727type_check :
28- uv run mypy tests --ignore-missing-import
28+ uv run ty check tests
2929
3030# ###############################################################################
3131
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ dependencies = [
2222[dependency-groups ]
2323dev = [
2424 " coverage>=7.9.1" ,
25- " mypy>=1.16.1" ,
2625 " pytest>=8.4.1" ,
2726 " pytest-cov>=6.2.1" ,
2827 " pytest-mock>=3.14.1" ,
2928 " ruff>=0.12.0" ,
3029 " behave>=1.2.6" ,
3130 " pre-commit>=4.3.0" ,
3231 " nox>=2025.10.14" ,
32+ " ty>=0.0.1a24" ,
3333]
3434
3535[project .scripts ]
@@ -49,13 +49,6 @@ testpaths = ["tests"]
4949[tool .pyright ]
5050include = [" src" ]
5151
52- [tool .mypy ]
53- files = [" src" , " tests" ]
54- cache_dir = " ${HOME}/.mypy_cache"
55- ignore_errors = false
56- disallow_untyped_defs = true
57- exclude = ' features/steps/.*'
58-
5952[tool .ruff ]
6053target-version = " py311"
6154line-length = 88
@@ -72,6 +65,10 @@ lint.select = [
7265 " D" , # pydocstyle
7366 " PL" , # pylint-like
7467 " C90" , # mccabe
68+ " PERF" , # performance
69+ " RUF" , # ruff-specific
70+ " PTH" , # pathlib
71+ " FLY" , # f-strings
7572]
7673
7774lint.ignore = []
You can’t perform that action at this time.
0 commit comments