Use uv (0.5.13 in CI) with Python 3.11 to mirror .github/workflows/style.yml.
# create and activate a virtual environment
uv venv --python 3.11 .venv
source .venv/bin/activate
# install Poetry + export plugin with uv so we can reuse the CI export step
uv pip install "poetry==2.0.0" poetry-plugin-export
# sync all dependencies (app + dev + quality groups)
poetry export -f requirements.txt --without-hashes --with dev,quality --output requirements-dev.txt
uv pip sync requirements-dev.txtThe following commands reproduce the quality jobs defined in .github/workflows/style.yml:
ruff format --check --diff scrapy_pyronear
ruff check --diff scrapy_pyronear
mypyPlease refer to CONTRIBUTING if you wish to contribute to this project.
This project is developed and maintained by the repo owner and volunteers from Pyronear.
Distributed under the Apache 2 License. See LICENSE for more information.