Skip to content

Commit 088bc33

Browse files
chore: [autoapprove] Pin flake8 version (#894)
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 a23fa60 commit 088bc33

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/sqlalchemy-bigquery/.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/sqlalchemy-bigquery/.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/sqlalchemy-bigquery/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", "sqlalchemy_bigquery", "tests", "noxfile.py", "setup.py"]
@@ -109,7 +110,7 @@ def lint(session):
109110
Returns a failure if the linters find linting errors or sufficiently
110111
serious code quality issues.
111112
"""
112-
session.install("flake8", BLACK_VERSION)
113+
session.install(FLAKE8_VERSION, BLACK_VERSION)
113114
session.run(
114115
"black",
115116
"--check",

0 commit comments

Comments
 (0)