Contributing
We welcome contributions to zdm! This document provides guidelines
for contributing to the project.
Getting Started
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/zdm.git cd zdm
Install in development mode:
pip install -e .[dev]
Create a branch for your changes:
git checkout -b my-feature-branch
Running Tests
Before submitting changes, ensure all tests pass:
# Run full test suite
pytest
# Run with coverage
pytest --cov=zdm
# Run specific test file
pytest zdm/tests/test_energetics.py
Code Style
We follow PEP 8 guidelines. Check your code with:
tox -e codestyle
Submitting Changes
Commit your changes with descriptive messages
Push to your fork
Open a Pull Request against the main repository
Ensure CI tests pass
Reporting Issues
Please report issues on the GitHub issue tracker: https://github.com/FRBs/zdm/issues
Include:
A clear description of the problem
Steps to reproduce
Expected vs actual behavior
Python and package versions