Thanks for your interest in improving bugbounty-ctf!
git clone https://github.com/TrueNix/bugbounty-ctf.git
cd bugbounty-ctf
pip install -e ".[dev]"- Lint passes:
ruff check src/ tests/ - Type check passes:
mypy src/bugbounty_ctf/ - Tests pass:
pytest --cov=bugbounty_ctf - Coverage ≥ 80%: maintained for new code
- Python 3.10+ (use modern syntax:
X | None,matchstatements where appropriate) - Type hints on all public functions
rufffor linting and formatting (enforced in CI)- No
as any,# type: ignore, or bareexcept: - Functions that make HTTP requests should accept an optional
scannerparameter to allow state reuse across tests
- Add the function to the appropriate module (
quick_tests.pyoradvanced_tests.py) - Export it from
api.pyand add to__all__ - Add tests in
tests/with mocked HTTP viaresponseslibrary - Document it in
README.mdfeatures table
- Bug reports: include Python version, OS, and a minimal reproduction
- Feature requests: describe the use case, not just the implementation
- Security issues: see SECURITY.md — do not open a public issue