Contributing#
Thanks for your interest in contributing! Here’s how to get started.
Development Setup#
git clone https://github.com/EttoreRocchi/MaldiAMRKit.git
cd MaldiAMRKit
pip install -e .[dev]
Running Tests#
pytest
Linting#
ruff check .
Submitting Changes#
Fork the repository and create a feature branch from
main.Add tests for any new functionality.
Make sure all tests pass and the linter is clean.
Open a pull request with a clear title and description of your changes.
Deprecation Policy#
Before removing or renaming a public API, follow these steps:
Deprecate first. Add the
@deprecateddecorator frommaldiamrkit._compatso that callers receive aDeprecationWarningnaming the replacement and the version where the old API will be removed.Keep the deprecated API working for at least one minor release.
Add a CHANGELOG entry for both the deprecation and the eventual removal.
Remove the deprecated API in the planned version and record the removal in the CHANGELOG.
Note
Pre-1.0: one minor-release grace period (e.g. deprecate in 0.13, remove in 0.14). This policy will be revisited for longer cycles once the project reaches v1.0.
Reporting Issues#
Open an issue on GitHub with a minimal reproducible example if applicable.