Skip to content
Discussion options

You must be logged in to vote

Ya lo solucione. Dejo los pasos que me sirvieron por si ayuda a alguien.

Instalar dependencias:
poetry install --no-interaction

Revision y formato como en CI:
poetry run ruff check . --fix
poetry run ruff format
poetry run black

Tests:
export PYTHONPATH=src
poetry run pytest -q

En PowerShell:
$env:PYTHONPATH = "src"

Si sale ModuleNotFoundError casi siempre eso es que PYTHONPATH no apunta a src.
Si el formateo no coincide usa las versiones fijadas por Poetry.
Si usas macOS o Windows ves algo distinto avisa y lo añado al README. Suerte con lo que esten haciendo.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CoderDeltaLAN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant