Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit suggestions (#2803)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit suggestions

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/pycqa/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)

* Fix setup.cfg file

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Justin Zhao <justinxzhao@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and justinxzhao authored Dec 3, 2022
1 parent 6153df9 commit 9f5dd65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-ast
- id: check-byte-order-marker
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
name: Format imports
exclude: "./proto/"
- repo: https://github.com/pycqa/flake8
rev: "5.0.4"
rev: "6.0.0"
hooks:
- id: flake8
exclude: "./proto/"
Expand Down
9 changes: 6 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
ignore =
E731 # Ignore "Do not assign a lambda expression, use a def"
W503 # Ignore "Line break occurred before a binary operator"
E203 # Ignore "whitespace before ':'"
# Ignore "Do not assign a lambda expression, use a def"
E731
# Ignore "Line break occurred before a binary operator"
W503
# Ignore "whitespace before ':'"
E203

0 comments on commit 9f5dd65

Please sign in to comment.