Running `pre-commit` will fail, because of an outdated flake8 repo link in `.pre-commit-config.yaml`. Flake8 has moved from https://gitlab.com/pycqa/flake8 to https://github.com/PyCQA/flake8. Updating the link should fix the issue