-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24887e8
commit 3f35f9b
Showing
3 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,40 @@ | ||
Contributing | ||
============ | ||
|
||
Contributions are welcome! Please follow these steps to contribute: | ||
We welcome contributions to improve LorenzCycleToolkit! Please follow these steps to contribute: | ||
|
||
1. Fork the repository. | ||
2. Create a new branch (`git checkout -b feature-branch`). | ||
3. Make your changes. | ||
4. Commit your changes (`git commit -m 'Add some feature'`). | ||
5. Push to the branch (`git push origin feature-branch`). | ||
6. Create a new Pull Request. | ||
1. **Fork the repository** and clone your fork. | ||
2. **Create a new branch**: | ||
- Use one of the following naming conventions: | ||
- ``feature/your-feature-name`` for new features | ||
- ``bugfix/your-bug-name`` for bug fixes | ||
- ``hotfix/your-hotfix-name`` for urgent fixes | ||
- Example: ``git checkout -b feature/new-visualization`` | ||
3. **Make your changes** following the project's coding standards. | ||
4. **Test your changes**: Ensure all tests pass by running: | ||
.. code-block:: bash | ||
Please ensure your code follows the project's coding standards and passes all tests before submitting a pull request. | ||
pytest | ||
5. **Format your code**: Run the following commands to ensure your code adheres to the project standards: | ||
.. code-block:: bash | ||
autopep8 --in-place --recursive . | ||
isort . | ||
flake8 | ||
6. **Commit your changes**: | ||
- Use descriptive commit messages, e.g., ``git commit -m 'Add energy cycle visualization feature'`` | ||
7. **Push your changes** to your fork: | ||
.. code-block:: bash | ||
git push origin feature/new-visualization | ||
8. **Create a pull request**: Submit your PR through GitHub, following our PR template and referencing any related issues. | ||
|
||
Before submitting your pull request, please ensure: | ||
|
||
- Your code passes all tests and follows the coding standards. | ||
- You have added or updated documentation if necessary. | ||
|
||
Thank you for contributing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters