8b9c3b6bd9
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: Ia16711e0bc6683346963507a1d2dc8b093daca62
(cherry picked from commit 4429d31c86
)
14 lines
304 B
YAML
14 lines
304 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pycqa/flake8.git
|
|
rev: 3.8.4
|
|
hooks:
|
|
- id: flake8
|
|
language_version: python3
|
|
args: ['--config=setup.cfg']
|
|
pass_filenames: false
|
|
- repo: https://github.com/pre-commit/mirrors-pylint
|
|
rev: v2.6.0
|
|
hooks:
|
|
- id: pylint
|