mirror of
https://github.com/matthewwardrop/hatch.git
synced 2026-06-28 15:16:57 -07:00
No description
- Python 99.8%
- Starlark 0.1%
* fix: skip extend injection if already present in ruff config When a project's ruff.toml or pyproject.toml [tool.ruff] section already contains an extend key, hatch was unconditionally prepending/inserting another one into the internal config copy, producing a duplicate key and a TOML parse error on hatch check code/fmt. Guard both the ruff.toml and pyproject.toml paths to only inject extend when it is not already present. * test: fix env_run fixture via marker Remove mocker usage. * test: add appropriate tests for all check cli pathes Remove not required tests in test_fmt module |
||
|---|---|---|
| .github | ||
| backend | ||
| docs | ||
| release | ||
| scripts | ||
| src/hatch | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .linkcheckerrc | ||
| hatch.toml | ||
| LICENSE.txt | ||
| mkdocs.yml | ||
| pyoxidizer.bzl | ||
| pyproject.toml | ||
| pyrefly.toml | ||
| README.md | ||
| ruff.toml | ||
| ruff_defaults.toml | ||
| SECURITY.md | ||
Hatch
Hatch is a modern, extensible Python project manager.
Features
- Standardized build system with reproducible builds by default
- Robust environment management with support for custom scripts and UV
- Configurable Python distribution management
- Test execution with known best practices
- Static analysis with sane defaults
- Built-in Python script runner
- Easy publishing to PyPI or other indices
- Version management
- Best practice project generation
- Responsive CLI, ~2-3x faster than equivalent tools
See the Why Hatch? page for more information.
Documentation
The documentation is made with Material for MkDocs and is hosted by GitHub Pages.
License
Hatch is distributed under the terms of the MIT license.