diff --git a/.copier-answers.yaml b/.copier-answers.yaml index bd6b79d..f4c65ee 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 37f89c1 +_commit: 4d4d95a _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5689987..0116cbc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -60,7 +60,7 @@ jobs: run: make coverage - name: Upload test results (Python) - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: test-results-${{ matrix.os }}-${{ matrix.python-version }} path: junit.xml @@ -79,7 +79,7 @@ jobs: - name: Make dist run: make dist - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: dist-${{matrix.os}} path: dist diff --git a/.gitignore b/.gitignore index 4a2e0e3..75d26dd 100644 --- a/.gitignore +++ b/.gitignore @@ -141,14 +141,12 @@ js/node_modules js/test-results js/playwright-report js/*.tgz -hatch_js/extension # Jupyter .ipynb_checkpoints .autoversion Untitled*.ipynb -!hatch_js/extension/hatch_js.json -!hatch_js/extension/install.json +hatch_js/extension hatch_js/nbextension hatch_js/labextension @@ -158,7 +156,13 @@ hatch_js/labextension # Rust target +<<<<<<< before updating # Test parts hatch_js/tests/test_project_basic/js/dist hatch_js/tests/test_project_basic/js/node_modules hatch_js/tests/test_project_basic/project/extension +======= +# Hydra +outputs/ +multirun/ +>>>>>>> after updating diff --git a/Makefile b/Makefile index 7b729c7..720078b 100644 --- a/Makefile +++ b/Makefile @@ -46,12 +46,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 f3a112a..dcbed75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "hatchling", ] -build-backend="hatchling.build" +build-backend = "hatchling.build" [project] name = "hatch-js" @@ -47,14 +47,14 @@ dependencies = [ develop = [ "build", "bump-my-version", - "check-manifest", - "codespell>=2.4,<2.5", + "check-dist", + "codespell", "hatchling", - "mdformat>=0.7.22,<1.1", + "mdformat", "mdformat-tables>=1", "pytest", "pytest-cov", - "ruff>=0.9,<0.15", + "ruff", "twine", "ty", "uv", @@ -90,18 +90,12 @@ filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' -[tool.check-manifest] -ignore = [ - ".copier-answers.yaml", - "Makefile", - "docs/**/*", -] - [tool.coverage.run] branch = false omit = [ "hatch_js/tests/integration/", ] + [tool.coverage.report] exclude_also = [ "raise NotImplementedError",