dev: manage pre-commit in tox (not poetry)
- otherwise pre-commit and pre-commit hooks depend on being compatible with python 3.7 (still used on the Buster bastion)
- we might want to undo this when we drop support for Buster
Edited by Slavina Stefanova