We welcome you to check the existing issues for bugs or enhancements to work on. If you have an idea for an extension to PythonCode, please file a new issue so we can discuss it.
Make sure to familiarize yourself with the project layout before making any major contributions.
-
Fork the project repository: click on the 'Fork' button near the top of the page. This creates a copy of the code under your account on the GitHub server.
-
Clone this copy to your local disk:
git clone git@github.com:YourUsername/PythonCode.git
-
Create a branch to hold your changes:
git checkout -b my-contribution
-
Make sure your local environment is correctly set up for development and that all required project dependencies are installed.
-
Start making changes on your newly created branch, remembering to never work on the
masterbranch! Work on this copy on your computer using Git to do the version control. -
To check that your changes haven’t broken existing tests and that new tests pass, run the tests.
-
When you're done editing and local testing, run:
git add modified_files git commit
to record your changes in Git, then push them to GitHub with:
git push -u origin my-contribution
Finally, go to the web page of your fork of the PythonCode repo, and click 'Pull Request' (PR) to send your changes to the maintainers for review.
When creating your PR, please make sure to enable the "Allow edits from maintainers" option (known as maintainer_can_modify). This allows the maintainers to make minor changes or improvements to your PR branch if necessary during the review process.
(If it looks confusing to you, then look up the Git documentation on the web.)
Before you submit a pull request for your contribution, please work through this checklist to make sure that you have done everything necessary so we can efficiently review and accept your changes.
If your contribution changes PythonCode in any way:
- Update the README if anything there has changed.
If your contribution involves any code changes:
-
Update the [project tests](https://github.com/DRMPN/PythonCode/tree/master/MIT newbie course/alphOrder and test MC.py) to test your code changes.
-
Make sure that your code is properly commented with docstrings and comments explaining your rationale behind non-obvious coding practices.
This document guide is based at well-written contributung guide of TPOT and FEDOT frameworks.