Skip to content
Open
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 .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 7e5612d
_commit: 4d4d95a
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,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
Expand All @@ -74,7 +74,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
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,12 @@ js/node_modules
js/test-results
js/playwright-report
js/*.tgz
check_dist/extension

# Jupyter
.ipynb_checkpoints
.autoversion
Untitled*.ipynb
!check_dist/extension/check_dist.json
!check_dist/extension/install.json
check_dist/extension
check_dist/nbextension
check_dist/labextension

Expand All @@ -157,3 +155,7 @@ check_dist/labextension

# Rust
target

# Hydra
outputs/
multirun/
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,22 @@ format: fix
################
# Other Checks #
################
<<<<<<< before updating
.PHONY: check-dist checks check

check-dist: ## check python sdist with check-dist
check-dist -v

=======
.PHONY: check-dist check-types checks check

check-dist: ## check python sdist and wheel with check-dist
check-dist -v

check-types: ## check python types with ty
ty check --python $$(which python)

>>>>>>> after updating
checks: check-dist

# Alias
Expand Down
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@ dependencies = [
develop = [
"build",
"bump-my-version",
<<<<<<< before updating
"codespell>=2.4,<2.5",
=======
"check-dist",
"codespell",
>>>>>>> after updating
"hatchling",
"mdformat>=0.7.22,<1.1",
"mdformat",
"mdformat-tables>=1",
"pytest",
"pytest-cov",
Expand Down Expand Up @@ -74,6 +79,7 @@ filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

<<<<<<< before updating
[tool.check-dist]
present = [
"check_dist",
Expand Down Expand Up @@ -107,11 +113,14 @@ absent = [

]

=======
>>>>>>> after updating
[tool.coverage.run]
branch = true
omit = [
"check_dist/tests/integration/",
]

[tool.coverage.report]
exclude_also = [
"raise NotImplementedError",
Expand Down
Loading