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

Also, remove the pinning of python runtime version in sanity checks
because Python 3.8 is no longer available in Ubuntu Jammy.

Closes-Bug: #1996668
Change-Id: I82273c8a2719aaa785e0eb092f04265797ceb77c
This commit is contained in:
Takashi Kajinami 2022-11-16 11:05:58 +09:00
parent ffb9f0e5c1
commit 32f95e39f9
2 changed files with 1 additions and 5 deletions

View File

@ -19,7 +19,7 @@ repos:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8.git
- repo: https://github.com/pycqa/flake8.git
rev: 3.9.2
hooks:
- id: flake8

View File

@ -5,8 +5,6 @@
parent: tox
vars:
tox_envlist: sanity # dynamic tox env added by tox-ansible
# we want to run sanity only on py38 instead of implicit 2.6-3.9 range
tox_extra_args: -- --python 3.8
- job:
name: tox-ansible-test-units
@ -14,8 +12,6 @@
parent: tox
vars:
tox_envlist: units # dynamic tox env added by tox-ansible
# we want to run sanity only on py36 instead of implicit 2.6-3.9 range
# tox_extra_args: -- --python 3.6
- job:
name: zuul-ansible-role-collect-logs