Pull flake8 from Github

It seems flake8 is no longer available in Gitlab. This change switches
the source from Gitlab to Github to avoid the following failure.

fatal: could not read Username for 'https://gitlab.com': No such device
or address

Closes-Bug: #1996668
Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/864603
Change-Id: I0a30b9ae7ccc2d5faf67e78c1f2d04cea446cecc
This commit is contained in:
Takashi Kajinami
2022-11-16 09:58:49 +09:00
parent 1f5b751be7
commit 0cb5354521

View File

@@ -11,7 +11,7 @@ repos:
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://gitlab.com/pycqa/flake8.git
- repo: https://github.com/pycqa/flake8.git
rev: 3.9.0
hooks:
- id: flake8