Contributing
Development Setup
- Clone the repository
git clone https://github.com/ashwch/auto-uv-env.git cd auto-uv-env
- Install development dependencies
uv tool install pre-commit
- Set up pre-commit hooks
uv tool run pre-commit install
Testing
Run the test suite:
./test/test.sh
Security testing:
./test/test-security.sh
Code Style
- Use 4-space indentation for shell scripts
- Follow existing patterns and conventions
- Add comments for complex logic
- Ensure all scripts have proper shebangs
- Use shellcheck-compliant code
Pull Request Guidelines
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Make your changes following the development workflow
- Ensure all tests pass and pre-commit hooks succeed
- Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request