diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 77ffd4d..d04302d 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 37f89c1 +_commit: 08a244d _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/.gitignore b/.gitignore index 728063c..60c7325 100644 --- a/.gitignore +++ b/.gitignore @@ -144,14 +144,12 @@ js/node_modules js/test-results js/playwright-report js/*.tgz -verilator/extension # Jupyter .ipynb_checkpoints .autoversion Untitled*.ipynb -!verilator/extension/verilator.json -!verilator/extension/install.json +verilator/extension verilator/nbextension verilator/labextension @@ -161,6 +159,10 @@ verilator/labextension # Rust target +# Hydra +outputs/ +multirun/ + # Verilator verilator/bin/ verilator/examples/ diff --git a/Makefile b/Makefile index 8d54746..31fa8b4 100644 --- a/Makefile +++ b/Makefile @@ -71,12 +71,15 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-manifest checks check +.PHONY: check-dist check-types checks check -check-manifest: ## check python sdist manifest with check-manifest - check-manifest -v +check-dist: ## check python sdist and wheel with check-dist + check-dist -v -checks: check-manifest +check-types: ## check python types with ty + ty check --python $$(which python) + +checks: check-dist # Alias check: checks diff --git a/pyproject.toml b/pyproject.toml index 1917660..166217d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "hatchling", ] -build-backend="hatchling.build" +build-backend = "hatchling.build" [project] name = "verilator" @@ -37,15 +37,15 @@ cli = [ develop = [ "build", "bump-my-version", - "check-manifest", + "check-dist", "cibuildwheel", - "codespell>=2.4,<2.5", + "codespell", "hatchling", - "mdformat>=0.7.22,<1.1", + "mdformat", "mdformat-tables>=1", "pytest", "pytest-cov", - "ruff>=0.9,<0.16", + "ruff", "twine", "ty", "uv", @@ -75,13 +75,6 @@ filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' -[tool.check-manifest] -ignore = [ - ".copier-answers.yaml", - "Makefile", - "docs/**/*", -] - [tool.cibuildwheel] build = "cp39-* cp310-* cp311-* cp312-* cp313-*" test-command = "echo 'TODO'" @@ -109,6 +102,7 @@ branch = true omit = [ "verilator/tests/integration/", ] + [tool.coverage.report] exclude_also = [ "raise NotImplementedError",