Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.05 KB

CONTRIBUTING.md

File metadata and controls

41 lines (28 loc) · 1.05 KB

See the Scikit-HEP Developer introduction for a detailed description of best practices for developing Scikit-HEP packages.

Setting up a development environment

You can set up a development environment by running:

python3 -m venv .env
source ./.env/bin/activate
pip install -v -e .[all]

Post setup

You should prepare pre-commit, which will help you by checking that commits pass required checks:

pip install pre-commit # or brew install pre-commit on macOS
pre-commit install # Will install a pre-commit hook into the git repo

You can also/alternatively run pre-commit run (changes only) or pre-commit run --all-files to check even without installing the hook.

Testing

Use PyTest to run the unit checks:

pytest

Developers: making a new release

  • Make sure the changelog is up to date.
  • Copy the contents of the changelog entry for that version.
  • Make a new release on the GitHub Releases page, using the tag name v#.#.# (will be created).