Thank you for considering contributing to our project! Whether you're fixing bugs, adding new features, improving documentation, or suggesting enhancements, your contributions are greatly appreciated.
-
Fork the Repository: Use the GitHub interface to fork the repository to your account.
-
Clone the Repository: Clone your fork locally:
git clone git clone https://github.com/MohammadLotfiA/MLA.git cd MLA
-
Set Up the Development Environment:
-
Install dependencies:
pip install -r requirements.txt # Python dependencies npm install # Node.js dependencies
-
Install
pre-commit
hooks:pre-commit install
-
- Check if the issue has already been reported.
- If not, create a new issue and include:
- A clear title and description.
- Steps to reproduce (if applicable).
- Relevant logs, screenshots, or code snippets.
-
Ensure your changes align with the project’s goals and architecture.
-
Follow these steps:
-
Create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make your changes, and ensure all tests pass.
-
Format your code and run linters:
pre-commit run --all-files
-
Commit your changes:
git commit -m "Add your descriptive commit message"
-
Push the branch:
git push origin feature/your-feature-name
-
-
Ensure your branch is up to date with the
main
branch:git pull origin main
-
Open a pull request (PR) on GitHub:
- Provide a clear title and description of your changes.
- Link related issues (e.g.,
Closes #123
).
-
Include tests for new features or bug fixes:
- Use
pytest
for Python. - Use
jest
for JavaScript/TypeScript (if applicable).
- Use
-
Run all tests before submitting:
pytest npm test
- Coding Standards:
- Python: Follow PEP 8.
- JavaScript/TypeScript: Follow ESLint rules.
- Security:
- Avoid hardcoding sensitive information.
- Run
gitleaks
to check for secrets before committing.
By contributing, you agree that your contributions will be licensed under the project's license.
Thank you for contributing! If you have any questions, feel free to reach out.