2.5 KiB
Contributing to EvalScope
Thank you for considering contributing to EvalScope! We welcome contributions of all kinds, including bug fixes, new features, documentation, and more.
Getting Started
-
Fork the Repository: Click the "Fork" button on the top right of this page to create a copy of this repository on your GitHub account.
-
Clone Your Fork: Clone your forked repository to your local machine using:
git clone https://github.com/your-username/EvalScope.gitReplace
your-usernamewith your GitHub username. -
Create a Branch: Create a new branch for your changes. Use a descriptive name for your branch (e.g.,
feature/new-feature,bugfix/issue-123).git checkout -b feature/your-feature-name -
Set Up Environment: Follow the setup instructions in the
README.mdorSETUP.mdto get the project up and running on your local machine.
Making Changes
-
Code Style: Ensure your code follows the project's coding guidelines. If applicable, run the linter to check for any style issues.
-
Pre-commit Hooks: This project uses
pre-commithooks to maintain code quality. Make sure you havepre-commitinstalled and set up in your environment. Run the following commands to install the hooks:pip install pre-commit pre-commit installBefore making a commit, you can manually run all pre-commit checks with:
pre-commit run --all-files -
Testing: Write tests to cover your changes. Run all tests to ensure nothing else is broken.
-
Commit Changes: Make sure your commit messages are clear and descriptive. Each commit should represent a single logical change.
-
Push Changes: Push your changes to your forked repository.
git push origin feature/your-feature-name
Creating a Pull Request
-
Navigate to the Original Repository: Go to the original repository where you want to submit your changes.
-
Create a Pull Request: Click the "New Pull Request" button. Ensure that you are comparing your branch from your fork against the correct branch in the original repository.
-
Fill Out the Pull Request Template: Provide a clear description of your changes, including any relevant issue numbers and a summary of the changes.
-
Respond to Feedback: Be ready to make adjustments as reviewers comment on your pull request. Engage in discussions to clarify any concerns.
Thank you for your contribution!