April 6, 2021

How to Replace an URL in All Repositories

Recently Anthony Sottile, one of the maintainers of Flake8, announced on Twitter that the source code repository of Flake8 was moved from GitLab to GitHub. Those of us, who also use Anthony’s pre-commit, now should update their .pre-commit-config.yaml file. Though there is no hurry, as the repository on GitLab will stay as a mirror. For one of my repos the .pre-config-config.yaml looks like this: repos: ... - repo: https://gitlab.com/pycqa/flake8 rev: 3....