Skip to content

Commit

Permalink
chore: [autoapprove] Pin flake8 version (#257)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 1, 2023
1 parent 112ba85 commit 76d2e3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/grafeas/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1
# created: 2023-07-25T21:01:10.396410762Z
digest: sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b
# created: 2023-08-01T17:41:45.434027321Z
2 changes: 1 addition & 1 deletion packages/grafeas/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ repos:
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
rev: 6.1.0
hooks:
- id: flake8
3 changes: 2 additions & 1 deletion packages/grafeas/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import nox

FLAKE8_VERSION = "flake8==6.1.0"
BLACK_VERSION = "black==22.3.0"
ISORT_VERSION = "isort==5.10.1"
LINT_PATHS = ["docs", "grafeas", "tests", "noxfile.py", "setup.py"]
Expand Down Expand Up @@ -81,7 +82,7 @@ def lint(session):
Returns a failure if the linters find linting errors or sufficiently
serious code quality issues.
"""
session.install("flake8", BLACK_VERSION)
session.install(FLAKE8_VERSION, BLACK_VERSION)
session.run(
"black",
"--check",
Expand Down

0 comments on commit 76d2e3a

Please sign in to comment.