diff --git a/.copier-answers.yaml b/.copier-answers.yaml index d5bd528..ad49960 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 7e5612d +_commit: 3160d4c _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: python diff --git a/.gitignore b/.gitignore index 81e8bf5..a271ef3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ __pycache__/ *.exp *.lib +# Rust +target + # Distribution / packaging .Python build/ @@ -55,26 +58,12 @@ junit.xml .hypothesis/ .pytest_cache/ -# Translations -*.mo -*.pot - -# Django stuff: +# Django *.log local_settings.py db.sqlite3 db.sqlite3-journal -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# PyBuilder -target/ - # IPython profile_default/ ipython_config.py @@ -85,15 +74,12 @@ ipython_config.py # pipenv Pipfile.lock -# PEP 582; used by e.g. github.com/David-OConnor/pyflow -__pypackages__/ - -# Celery stuff +# Celery celerybeat-schedule celerybeat.pid -# SageMath parsed files -*.sage.py +# Airspeed Velocity +.asv # Environments .env @@ -141,14 +127,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 @@ -157,3 +141,7 @@ check_dist/labextension # Rust target + +# Hydra +outputs/ +multirun/ diff --git a/Makefile b/Makefile index 95507a7..34211b6 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,14 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-dist checks check +.PHONY: check-dist check-types checks check -check-dist: ## check python sdist with check-dist +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) + checks: check-dist # Alias diff --git a/pyproject.toml b/pyproject.toml index d0062be..87e43a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,9 @@ dependencies = [ develop = [ "build", "bump-my-version", - "codespell>=2.4,<2.5", + "codespell", "hatchling", - "mdformat>=0.7.22,<1.1", + "mdformat", "mdformat-tables>=1", "pytest", "pytest-cov", @@ -112,6 +112,7 @@ branch = true omit = [ "check_dist/tests/integration/", ] + [tool.coverage.report] exclude_also = [ "raise NotImplementedError",