diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 148660f..bab8839 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 4f23417 +_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 80b552b..d1b1466 100644 --- a/.gitignore +++ b/.gitignore @@ -141,14 +141,12 @@ js/node_modules js/test-results js/playwright-report js/*.tgz -ccflow/extension # Jupyter .ipynb_checkpoints .autoversion Untitled*.ipynb -!ccflow/extension/ccflow.json -!ccflow/extension/install.json +ccflow/extension ccflow/nbextension ccflow/labextension @@ -158,8 +156,11 @@ ccflow/labextension # Rust target +# Hydra +outputs/ +multirun/ + # Examples -outputs raw.html extracted.csv etl.db diff --git a/Makefile b/Makefile index d36f17c..a4437b6 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 98f3f5c..2279055 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "hatchling", ] -build-backend="hatchling.build" +build-backend = "hatchling.build" [project] name = "ccflow" @@ -71,12 +71,12 @@ full = [ 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", - "ruff>=0.9,<0.15", + "ruff", "toml", "twine", "ty", @@ -135,13 +135,6 @@ filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' -[tool.check-manifest] -ignore = [ - ".copier-answers.yaml", - "Makefile", - "docs/**/*", -] - [tool.coverage.run] branch = true omit = [ @@ -167,9 +160,7 @@ packages = [ "ccflow", ] exclude = [ - "/.github", - "/.gitignore", - "/docs", + "docs", ] [tool.hatch.build.targets.wheel] @@ -177,9 +168,7 @@ packages = [ "ccflow", ] exclude = [ - "/.github", - "/.gitignore", - "/docs", + "docs", ] [tool.hatch.build.targets.wheel.shared-data]