Thank you for your interest in contributing to VAPI Tools! This document provides guidelines and instructions for contributing to this project.
Please be respectful and considerate of others when contributing to this project. We aim to foster an inclusive and welcoming community.
If you find a bug, please create an issue on GitHub with the following information:
- A clear, descriptive title
- A detailed description of the issue
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Your environment (OS, Python version, etc.)
We welcome suggestions for enhancements! When suggesting a feature, please:
- Use a clear, descriptive title
- Provide a detailed description of the suggested enhancement
- Explain why this enhancement would be useful
- Suggest an implementation approach if possible
- Fork the repository
- Create a new branch from
main(git checkout -b feature/your-feature-name) - Make your changes
- Add tests for your changes if applicable
- Run the tests (
pytest tests/) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/your-feature-name) - Open a Pull Request
-
Clone your forked repository
git clone https://github.com/YOUR_USERNAME/vapi-tools.git cd vapi-tools -
Create a virtual environment and install dependencies
python3 -m venv venv source venv/bin/activate pip install vapi_server_sdk pip install pytest pytest-cov -
Create a
.envfile with your VAPI API keyVAPI_API_KEY=your_api_key_here -
Run the tests to ensure everything is working
pytest tests/
- Follow PEP 8 style guidelines
- Use descriptive variable names
- Add type hints to functions (using
typingmodule) - Include docstrings for all functions and classes
- Keep script files executable with the shebang
#!/usr/bin/env python3 - Ensure proper error handling with specific error types and logging
- Add tests for new features
- Ensure existing tests pass
- Use pytest for running tests
- Update the README.md if necessary
- Add comments to explain complex logic
- Keep docstrings up-to-date
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.
If you have any questions, feel free to open an issue to discuss them.
Thank you for contributing to VAPI Tools!