mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-02-22 17:47:11 +00:00
1.1 KiB
1.1 KiB
Contributing
We appreciate your interest in improving this project. Here are some guidelines:
- Fork the repository and create a new branch.
- Follow existing code styles and conventions.
- Write clear commit messages.
- Test your changes thoroughly.
- Open a Pull Request with a concise summary.
Setting Up the Development Environment
To set up the development environment, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/JaxPM.git cd JaxPM
-
Create a virtual environment:
python -m venv --system-site-packages venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements-test.txt pip install -e .
-
Install pre-commit hooks:
pre-commit install
This will run code formatting and linting checks before each commit.
Running Tests
To run the tests, use the following command:
python -m pytest
Make sure all tests pass before submitting your changes.
Thank you for contributing!