Update the link to flake8 in repo from gitlab to github in .pre-commit-config.yaml Should end like this: - repo: https://github.com/pycqa/flake8