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: I774c163376ccbd7ce43be12386834a68e18c2bec
This commit is contained in:
Takashi Kajinami 2022-11-16 11:11:16 +09:00
parent ad5bf886a9
commit 6759dde977

View File

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