Contributing
We welcome contributions to RedisAllocator! There are many ways to contribute:
Reporting bugs
Suggesting features
Writing documentation
Improving test coverage
Submitting pull requests
Development Setup
To set up a development environment:
Clone the repository:
git clone https://github.com/invoker-bot/RedisAllocator-python.git cd RedisAllocator-python
Create a virtual environment and install development dependencies:
python -m venv venv source venv/bin/activate # On Windows, use: venv\Scripts\activate pip install -e .[test]
Run tests:
python -m pytest
Code Style
We follow PEP 8 style guide for Python code. Please ensure your code conforms to this style.
You can check your code style with flake8:
flake8 redis_allocator tests
Pull Request Process
Fork the repository and create a branch for your feature or bugfix.
Make your changes and ensure tests pass.
Update documentation as needed.
Submit a pull request.
All pull requests will be reviewed by maintainers.