Skip to content

Commit 8ed02ca

Browse files
Update from Copier (2026-10-11T11-13-45Z) (#84)
* Update from Copier (2026-10-11T11-13-45Z) Signed-off-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com> * Resolve Copier conflicts and type checks Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --------- Signed-off-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com> Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> Co-authored-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com> Co-authored-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 12f5009 commit 8ed02ca

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

‎.copier-answers.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 5ff720b
2+
_commit: '4372075'
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: python

‎Makefile‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ lint-py: ## lint python with ruff
6060
python -m ruff format --check verilator
6161

6262
lint-docs: ## lint docs with mdformat and codespell
63-
python -m mdformat --check README.md
64-
python -m codespell_lib README.md
63+
python -m mdformat --check README.md $(wildcard docs/src)
64+
python -m codespell_lib README.md $(wildcard docs/src)
6565

6666
fix-py: ## autoformat python code with ruff
6767
python -m ruff check --fix verilator
6868
python -m ruff format verilator
6969

7070
fix-docs: ## autoformat docs with mdformat and codespell
71-
python -m mdformat README.md
72-
python -m codespell_lib --write README.md
71+
python -m mdformat README.md $(wildcard docs/src)
72+
python -m codespell_lib --write README.md $(wildcard docs/src)
7373

7474
lint: lint-py lint-docs ## run all linters
7575
lints: lint
@@ -85,9 +85,9 @@ check-dist: ## check python sdist and wheel with check-dist
8585
check-dist -v
8686

8787
check-types: ## check python types with ty
88-
ty check --python $$(which python)
88+
python -m ty check
8989

90-
checks: check-dist
90+
checks: check-dist check-types
9191

9292
# Alias
9393
check: checks

‎pyproject.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ develop = [
4444
"codespell",
4545
"hatchling",
4646
"mdformat",
47+
"mdformat-frontmatter",
4748
"mdformat-tables>=1",
4849
"pytest",
4950
"pytest-cov",
5051
"ruff",
5152
"twine",
5253
"ty",
54+
"typer",
5355
"uv",
5456
"wheel",
5557
]
@@ -102,7 +104,7 @@ skip = "*win32 *arm_64"
102104
[tool.coverage.run]
103105
branch = true
104106
omit = [
105-
"verilator/tests/integration/",
107+
"verilator/tests/integration/*",
106108
]
107109

108110
[tool.coverage.report]

‎verilator/cli.py‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from subprocess import Popen
66
from sys import argv, exit, stderr, stdout
77
from time import sleep
8-
from typing import List
98

109

1110
@lru_cache(maxsize=1)
@@ -61,16 +60,16 @@ def verilator(argv):
6160

6261

6362
def build(
64-
input: List[str],
63+
input: list[str],
6564
output: str = "obj_dir",
66-
includes: List[str] = None,
65+
includes: list[str] | None = None,
6766
timing: bool = True,
6867
trace: bool = True,
6968
assert_: bool = True,
7069
cc: bool = True,
7170
build: bool = True,
72-
exe: str = None,
73-
top_module: str = None,
71+
exe: str | None = None,
72+
top_module: str | None = None,
7473
):
7574
"""Utility to build a verilated module"""
7675
includes = includes or []

0 commit comments

Comments
 (0)