Closed cs23andris closed 1 year ago
@cs23andris good catch! Would you like to contribute?
Yes @robertkossendey, you can assign to me!
Great, thank you @cs23andris!
So on second thought, If I run the hooks from inside the container with the command: poetry run pre-commit run --all-files
then pytest hook is using the poetry environment, so I guess this issue is not relevant anymore.
Can I close this @robertkossendey ?
@cs23andris - thanks for reporting back, closing.
This is the current setup for pytest in the .yaml file
To leverage the development environment setup by poetry for for this hook then the entry key should be updated:
poetry run pytest
instead ofpytest tests/
.