Contributing#
We welcome contributions to thinFTP! This guide will help you get started.
Development Setup#
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/yourusername/thinftp.git
cd thinftp
Install in development mode:
pip install -e ".[docs]"
Running Tests#
python -m pytest tests/
Building Documentation#
To build the documentation locally:
cd docs
make html
The built documentation will be in docs/build/html/.
Code Style#
Follow PEP 8 style guidelines
Use type hints where appropriate
Write clear, descriptive docstrings
Keep functions and classes focused and small
Submitting Changes#
Create a new branch for your feature:
git checkout -b feature/your-feature-name
Make your changes and add tests
Ensure all tests pass
Update documentation if needed
Commit your changes:
git commit -m "Add your feature description"
Push to your fork and submit a pull request
Reporting Issues#
When reporting issues, please include:
Python version
Operating system
Clear description of the problem
Steps to reproduce
Any error messages or logs
License#
By contributing, you agree that your contributions will be licensed under the MIT License.