We are excited that you are interested in contributing to MetaForm! Your contributions help make MetaForm a better and more powerful tool for everyone. This guide will help you get started with contributing to the project.
If you find a bug in the MetaForm library, please report it by creating an issue in our GitHub issue tracker. When reporting a bug, please include as much detail as possible to help us understand and reproduce the issue.
We welcome suggestions for new features or improvements to existing features. To suggest an enhancement, please open a GitHub issue and describe your idea in detail. Be sure to explain why the feature would be beneficial to the project.
We welcome contributions in the form of code! If you would like to contribute code to MetaForm, please follow these steps:
- Fork the repository: Click the "Fork" button at the top right corner of the repository page.
- Create a new branch: Create a branch for your feature or bugfix (
git checkout -b feature-branch
). Please ensure that you are working on a branch that is specifically created for your new feature or fix, and avoid working directly on themain
branch. - Make your changes: Implement your feature or bugfix.
- Write tests: Ensure your code is well-tested.
- Commit your changes: Use descriptive commit messages (
git commit -m 'Add new feature'
). - Push to your branch: Push the changes to your forked repository (
git push origin feature-branch
). - Create a Pull Request: Open a pull request to the
main
branch of the original repository.
Documentation is key to the success of any open-source project. If you find areas in the documentation that can be improved or expanded, feel free to contribute. You can update the documentation directly and follow the same process as contributing code.
-
Clone the repository:
git clone https://github.com/torinriley/metaform.git cd metaform
-
Install dependencies:
pip install -r requirements.txt
-
Run tests:
pytest
Ensure that all tests pass before making your changes.
NOTE: Tests are still under development and will be coming soon.
- Work on your branch: Develop your feature or fix in a separate branch created specifically for that purpose.
- Keep your branch up to date: Periodically rebase your branch against the
main
branch to stay up to date. - Write meaningful commit messages: Commit messages should be clear and descriptive.
- Submit a pull request: Once you are satisfied with your changes, open a pull request.
- Code Style: Follow the PEP 8 style guide for Python code.
- Docstrings: Use Google-style docstrings for documenting your functions and classes.
- Testing: Ensure that your code is covered by tests. Use
pytest
for testing.
By contributing to MetaForm, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to MetaForm!