Thanks for contributing to X Archive Explorer.
- Keep changes focused and production-ready.
- Preserve existing behavior unless the change explicitly modifies it.
- Add tests for new behavior and bug fixes whenever possible.
- Keep documentation aligned with code changes.
- Create and activate a virtual environment (Python 3.12+):
python --version
python -m venv .venv
source .venv/bin/activateOn Windows (PowerShell), activate with:
.venv\Scripts\Activate.ps1- Install dependencies:
pip install -r requirements.txt
pip install -r requirements-dev.txt- Apply migrations:
flask --app run.py db upgrade- Run tests:
python -m pytest -q- Clear title and scope.
- Reproducible steps for bug fixes.
- Tests added or updated.
- No secrets or local files committed.
- README updated when behavior changes.
- Follow existing project style and naming.
- Prefer small, readable functions.
- Keep user-facing text consistent with i18n strategy.