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
2 changes: 1 addition & 1 deletion project_name/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: List packages
run: uv pip list
- name: Run mypy
run: uv run --no-sync mypy
run: uv run --no-sync mypy --num-workers "$(nproc)"

dependencies:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions project_name/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ docs = [
"mkdocs-section-index ~=0.3.0",
]
typing = [
"mypy[native-parser] ~=1.20.0",
"mypy ~=2.1.0",
"ty ~=0.0",
# add "*-stubs" and "types-*" packages here (">=0")
]
Expand Down Expand Up @@ -185,10 +185,9 @@ mypy_path = "stubs"
fixed_format_cache = true
# set the platform
python_version = "3.{{ python_min }}"
# enable checks [last updated: mypy 1.20]
# enable checks [last updated: mypy 2.1]
strict = true
strict_equality_for_none = true
local_partial_types = true
disallow_any_unimported = true
warn_unreachable = true
disallow_any_explicit = true
Expand Down
Loading