Spaces:
Sleeping
Sleeping
Contributing
Development Setup
git clone https://github.com/Carlos-Projects/palisade-scanner.git
cd palisade-scanner
pip install -e ".[dev]"
Workflow
- Create a branch:
git checkout -b feature/my-feature - Make your changes
- Run checks:
ruff check . && python -m pytest tests/ -v - Add tests for new functionality
- Commit:
git commit -m "type(scope): description" - Push and open a PR
Quality Gates
Before submitting a PR, ensure:
ruff check .— passespython -m pytest tests/ -v— all tests pass- Tests added for new features
Code Style
- Line length: 120
- Ruff enforces imports, naming, and formatting
- Type hints required for all public functions
Pull Request Process
- Use the PR template
- Keep PRs focused on a single change
- Reference related issues
- Squash commits before merging