From 649549376926e97ead05d373f75c862b63e0fd8a Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Thu, 12 May 2022 13:40:02 +0200 Subject: [PATCH 1/2] Black=22.3.0 --- .github/workflows/flake8.yml | 2 +- versions.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 73f73f0910..45dbfae7b2 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -28,7 +28,7 @@ jobs: # install flake8 - name: install flake8 - run: pip install flake8 + run: pip install flake8==$(awk '/^flake8 =/{print $NF}' versions.cfg) # run black - name: run flake8 diff --git a/versions.cfg b/versions.cfg index 3841232b5c..866476c6b9 100644 --- a/versions.cfg +++ b/versions.cfg @@ -5,7 +5,7 @@ zc.buildout = plone.restapi = # code analysis -black = 20.8b1 +black = 22.3.0 click = 8.0.4 # Error: The requirement ('virtualenv>=20.0.35') is not allowed by your [versions] constraint (20.0.26) From 9b182b72d70ce502d2782abc11c59d0a73e815a3 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Thu, 12 May 2022 13:44:03 +0200 Subject: [PATCH 2/2] flake8 = 4.0.1 --- versions.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/versions.cfg b/versions.cfg index 866476c6b9..f14e01e91d 100644 --- a/versions.cfg +++ b/versions.cfg @@ -7,6 +7,7 @@ plone.restapi = # code analysis black = 22.3.0 click = 8.0.4 +flake8 = 4.0.1 # Error: The requirement ('virtualenv>=20.0.35') is not allowed by your [versions] constraint (20.0.26) virtualenv = 20.0.35