Thank you for considering contributing to optymus
! By contributing to this project, you help make it a more powerful and versatile optimization methods library for the Python community.
If you're interested in contributing to optymus
, please follow these guidelines:
Click on the "Fork" button on the top right corner of the optymus repository to create your own fork.
Clone the repository to your local machine using the following command (replace your-username
with your GitHub username):
git clone https://github.com/your-username/optymus.git
cd optymus
conda create -n "optymus-env"
conda activate optymus-env
pip install hatch
hatch shell
Create a new branch for your contribution:
git checkout -b feature/your-contribution
Make your changes and additions to the codebase. Ensure that your code follows the project's coding standards.
hatch run testing:run
Commit your changes with a clear and descriptive commit message:
git add .
git commit -m "add feature: your contribution"
Push your changes to your forked repository on GitHub:
git push origin feature/your-contribution
Open a pull request (PR) on the main optymus
repository. Provide a detailed description of your changes and why they are valuable. Reference any related issues in your PR description.
Follow the existing code style and conventions used in the project. If there are specific style guidelines, they will be outlined in the project's documentation.
If your contribution includes new features or modifications, it is encouraged to include tests. Tests should be located in the tests
directory and be named appropriately.
Before starting work on a new feature or bug fix, check the issue tracker for existing issues. If you plan to address an existing issue, please comment on it to let others know you are working on it.
Your contributions help make optymus
a valuable resource for the Python community. Thank you for your time and effort!