Skip to content

Commit c2edb21

Browse files
chore: [autoapprove] Pin flake8 version (#46)
Source-Link: https://togithub.com/googleapis/synthtool/commit/0ddbff8012e47cde4462fe3f9feab01fbc4cdfd6 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b
1 parent b1f9f5a commit c2edb21

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/google-cloud-gsuiteaddons/.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1
17-
# created: 2023-07-25T21:01:10.396410762Z
16+
digest: sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b
17+
# created: 2023-08-01T17:41:45.434027321Z

packages/google-cloud-gsuiteaddons/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ repos:
2626
hooks:
2727
- id: black
2828
- repo: https://github.com/pycqa/flake8
29-
rev: 3.9.2
29+
rev: 6.1.0
3030
hooks:
3131
- id: flake8

packages/google-cloud-gsuiteaddons/noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import nox
2828

29+
FLAKE8_VERSION = "flake8==6.1.0"
2930
BLACK_VERSION = "black==22.3.0"
3031
ISORT_VERSION = "isort==5.10.1"
3132
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
@@ -82,7 +83,7 @@ def lint(session):
8283
Returns a failure if the linters find linting errors or sufficiently
8384
serious code quality issues.
8485
"""
85-
session.install("flake8", BLACK_VERSION)
86+
session.install(FLAKE8_VERSION, BLACK_VERSION)
8687
session.run(
8788
"black",
8889
"--check",

0 commit comments

Comments
 (0)