Contributing#
Thank you for your interest in contributing to ScubaTrace! This document will guide you through setting up your development environment and making your first contribution.
Getting Started#
Development Environment Setup#
Install Python 3.11 or later
Ensure you have Python 3.11 or a later version installed on your machine. You can download it from the official Python website: https://www.python.org/downloads/
Clone the repository
Clone the ScubaTrace repository to your local machine using the following command:
git clone https://github.com/SunBK201/ScubaTrace.git
Navigate to the project directory
Change to the project directory:
cd ScubaTrace
Install the required packages
Install the necessary packages using pip:
pip install -r requirements.txt
Making Changes#
Create a new branch
Create a new branch for your changes:
git checkout -b your-branch-name
Make your changes
Make the necessary changes to the codebase.
Run tests
Ensure that all tests pass before committing your changes. You can run the tests using:
pytest
Commit your changes
Commit your changes with a meaningful commit message:
git commit -m "Description of your changes"
Push your changes
Push your changes to your forked repository:
git push origin your-branch-name
Create a pull request
Open a pull request on the main repository. Provide a clear description of your changes and any relevant information.
Code Style#
Please follow the PEP 8 style guide for Python code. You can use tools like flake8 to check your code for style issues:
pip install flake8
flake8 .
Thank you for contributing!