diff --git a/docs/features/linting.md b/docs/features/linting.md index e00654c..57ecf88 100644 --- a/docs/features/linting.md +++ b/docs/features/linting.md @@ -71,13 +71,13 @@ preview = true ```toml [tool.mypy] -disallow_untyped_defs = "True" -disallow_any_unimported = "True" -no_implicit_optional = "True" -check_untyped_defs = "True" -warn_return_any = "True" -warn_unused_ignores = "True" -show_error_codes = "True" +disallow_untyped_defs = true +disallow_any_unimported = true +no_implicit_optional = true +check_untyped_defs = true +warn_return_any = true +warn_unused_ignores = true +show_error_codes = true exclude = [ '\.venv', '{{cookiecutter.project_name}}', diff --git a/pyproject.toml b/pyproject.toml index 3b6cca6..7bb704d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,13 +67,13 @@ source = ["cookiecutter_uv"] [tool.mypy] files = ['cookiecutter_uv'] -disallow_untyped_defs = "True" -disallow_any_unimported = "True" -no_implicit_optional = "True" -check_untyped_defs = "True" -warn_return_any = "True" -warn_unused_ignores = "True" -show_error_codes = "True" +disallow_untyped_defs = true +disallow_any_unimported = true +no_implicit_optional = true +check_untyped_defs = true +warn_return_any = true +warn_unused_ignores = true +show_error_codes = true [tool.deptry] extend_exclude = [ diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index 904035f..4105e62 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -43,13 +43,13 @@ build-backend = "setuptools.build_meta" [tool.mypy] files = ["{{cookiecutter.project_slug}}"] -disallow_untyped_defs = "True" -disallow_any_unimported = "True" -no_implicit_optional = "True" -check_untyped_defs = "True" -warn_return_any = "True" -warn_unused_ignores = "True" -show_error_codes = "True" +disallow_untyped_defs = true +disallow_any_unimported = true +no_implicit_optional = true +check_untyped_defs = true +warn_return_any = true +warn_unused_ignores = true +show_error_codes = true [tool.pytest.ini_options] testpaths = ["tests"]