diff --git a/pyproject.toml b/pyproject.toml index db7be9e..dea004c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,7 +118,5 @@ report.show_missing = true html.show_contexts = true html.skip_covered = false -[tool.mypy] -python_version = "3.11" -show_error_codes = true -strict = true +[tool.ty] +environment.python-version = "3.14" diff --git a/tox.ini b/tox.ini index b10d44f..897ec6d 100644 --- a/tox.ini +++ b/tox.ini @@ -47,10 +47,9 @@ commands = [testenv:type] description = run type check on code base deps = - mypy==1.19.1 + ty==0.0.16 commands = - mypy --strict src - mypy --strict tests + ty check --output-format concise --error-on-warning . [testenv:pkg_meta] description = check that the long description is valid