Skip to content

Contributing

When contributing to this repository, please discuss the change you wish to make first via issue.

We have pull request guidelines; please follow these in all your interactions with the project.

  • Focus your pull request on a single feature or issue.
  • Do not change files unrelated to that specific issue or feature.
  • Follow PEP 8 conventions.
  • Run ruff check before submitting.
  • Run mypy --strict fitness_tools/ to verify type safety.

This project uses pytest for unit tests.

  • If you’re adding a feature, write tests to support it.
  • If you’re fixing a bug, add tests to reproduce it.

Run the full test suite from the root directory:

Terminal window
python -m pytest tests/ -v

Make one commit per feature or bug. Short histories aid in finding bugs and identifying the best fixes.

State a convincing case why your PR should be accepted.