python-tripleoclient/.pre-commit-config.yaml
Takashi Kajinami 4429d31c86 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: Ia16711e0bc6683346963507a1d2dc8b093daca62
2022-11-16 01:55:38 +00:00

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