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: 37f89c1
_commit: 9be318c
_src_path: https://github.com/python-project-templates/base.git
add_docs: false
add_extension: python
Expand Down
41 changes: 17 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ __pycache__/
*.exp
*.lib

# Rust
target

# Distribution / packaging
.Python
build/
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -141,14 +127,12 @@ js/node_modules
js/test-results
js/playwright-report
js/*.tgz
hatch_build/extension

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

Expand All @@ -157,3 +141,12 @@ hatch_build/labextension

# Rust
target

# Hydra
outputs/
multirun/

# AI
ROADMAP.md
AGENTS.md
.github/hooks/sdlc.json
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
18 changes: 6 additions & 12 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 = "hatch-build"
Expand Down Expand Up @@ -43,15 +43,15 @@ 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",
"pydantic>=2,<3",
"pytest",
"pytest-cov",
"ruff>=0.9,<0.16",
"ruff",
"twine",
"ty",
"uv",
Expand Down Expand Up @@ -81,18 +81,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 = true
omit = [
"hatch_build/tests/integration/",
]

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