Contributions are made to this repo via Issues and Pull Requests (PRs)
Issues should be used to report problems with the library, request a new feature, or to discuss potential changes before a PR is created.
If you find an Issue that addresses the problem you're having, please add your own reproduction information to the existing issue rather than creating a new one. Adding a reaction can also help be indicating to our maintainers that a particular problem is affecting more than just the reporter.
Pull requests should address a single concern with the least number of changed lines possible, be well-described, and ensure that the code is thoroughly tested before submission. We typically follow the standard Git workflow of cloning or forking the repository and then creating pull requests. Additionally, poetry is used to manage package dependencies in the project. To make a pull request:
First, clone the repository from GitHub:
git clone https://github.com/mlsedigital/mplbasketball.git
Then navigate into the project directory:
cd mplbasketball
Create a Python virtual environment to isolate your dependencies:
# macOS/Linux
python3 -m venv .venv
# Windows
python -m venv .venv
Activate the virtual environment
source .venv/bin/activate #on macOS/Linux
source .venv\Scripts\activate #on WIndows
Verify the virtual environment is active (you should see .venv
in your terminal prompt):
which python
Install Poetry within the virtual environment:
pip install poetry
Inside the virtual environment, run the following to install all dependencies:
poetry install
- Make the necessary changes to the codebase.
- Create a new branch for your changes:
git checkout -b <your-branch-name>
- Commit your changes:
git add .
git commit -m "Describe your changes"
- Push your branch to Github and create a pull request
git push origin <your-branch-name>
Open a pull request by visiting the Pull Requests page on GitHub.
To facilitate a smooth merge:
- Be Responsive: Address any feedback or requested changes promptly.
- Follow Workflow: We use the standard Git workflow, typically involving cloning or forking the repository and creating pull requests. Ensure your branch is up-to-date with the main branch before submission.
- Dependency Management: The project uses Poetry for package dependency management. Make sure to test your changes in a properly configured environment to avoid dependency conflicts.
Once you submit a pull request, it will be reviewed by maintainers. Please be patient and responsive to feedback to ensure a smooth merge.
Thank you for contributing!