Style and Linting

DASCore’s pre-commit hooks format, lint, and type-check the repository. Install them during the development setup, and run the full set twice before pushing because the first pass may modify files:

pre-commit run --all

Annotate public functions and methods with type hints. ty checks the full dascore package using [tool.ty] in pyproject.toml; do not add errors in enforced categories. See Documentation for docstring conventions.