Skip to content
Merged
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: 4f23417
_commit: 08a244d
_src_path: https://github.com/python-project-templates/base.git
add_docs: false
add_extension: python
Expand Down
9 changes: 5 additions & 4 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
ccflow/extension

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

Expand All @@ -158,8 +156,11 @@ ccflow/labextension
# Rust
target

# Hydra
outputs/
multirun/

# Examples
outputs
raw.html
extracted.csv
etl.db
Expand Down
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 7 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"hatchling",
]
build-backend="hatchling.build"
build-backend = "hatchling.build"

[project]
name = "ccflow"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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 = [
Expand All @@ -167,19 +160,15 @@ packages = [
"ccflow",
]
exclude = [
"/.github",
"/.gitignore",
"/docs",
"docs",
]

[tool.hatch.build.targets.wheel]
packages = [
"ccflow",
]
exclude = [
"/.github",
"/.gitignore",
"/docs",
"docs",
]

[tool.hatch.build.targets.wheel.shared-data]
Expand Down