Skip to content

Commit 2db1c83

Browse files
chore: [autoapprove] Pin flake8 version (#628)
Source-Link: googleapis/synthtool@0ddbff8 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 75a489b commit 2db1c83

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/google-cloud-bigquery-storage/.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-bigquery-storage/.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-bigquery-storage/noxfile.py

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

2626
import nox
2727

28+
FLAKE8_VERSION = "flake8==6.1.0"
2829
BLACK_VERSION = "black==22.3.0"
2930
ISORT_VERSION = "isort==5.10.1"
3031
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
@@ -92,7 +93,7 @@ def lint(session):
9293
Returns a failure if the linters find linting errors or sufficiently
9394
serious code quality issues.
9495
"""
95-
session.install("flake8", BLACK_VERSION)
96+
session.install(FLAKE8_VERSION, BLACK_VERSION)
9697
session.run(
9798
"black",
9899
"--check",

0 commit comments

Comments
 (0)