Thank you for your interest in contributing to FileLock! We welcome contributions from the community to help make this project better.
-
Fork and Clone
git clone https://github.com/YOUR-USERNAME/FileLock.git cd FileLock -
Set up Python Environment
-
Python 3.9 or higher is required
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
-
Create a Branch
git checkout -b feature/your-feature-name
-
Make Changes
-
Write your code
-
Add tests for new functionality
-
Ensure all tests pass:
python -m pytest tests/
-
-
Code Style
- Follow PEP 8 guidelines
- Use meaningful variable and function names
- Add docstrings for functions and classes
- Keep functions focused and concise
-
Commit Changes
- Write clear, concise commit messages
- Use present tense ("Add feature" not "Added feature")
- Reference relevant issue numbers
- Update the README.md with details of changes if applicable
- Ensure all tests pass and add new tests for new functionality
- Update documentation if needed
- Submit a pull request with a clear description of the changes
- Use the GitHub issue tracker
- Include steps to reproduce the issue
- Include expected and actual behavior
- Include Python version and operating system
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.
By contributing to FileLock, you agree that your contributions will be licensed under the MIT License. See LICENSE for details.
Thank you for contributing to FileLock! Your efforts help make this project better for everyone.