[pre-commit.ci] pre-commit autoupdate (#1069)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.2.0 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.3.0) - [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0) - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0) * Pacify flake8 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
parent
0f6a9b4753
commit
14008b4f35
|
@ -12,7 +12,7 @@ repos:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.2.0
|
rev: v3.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py36-plus, --keep-percent-format]
|
args: [--py36-plus, --keep-percent-format]
|
||||||
|
@ -31,7 +31,7 @@ repos:
|
||||||
- id: yesqa
|
- id: yesqa
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 5.0.4
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ repos:
|
||||||
args: [tests]
|
args: [tests]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
@ -1376,7 +1376,7 @@ class TestValidate:
|
||||||
# Hypothesis seems to cache values, so the lists of attributes come out
|
# Hypothesis seems to cache values, so the lists of attributes come out
|
||||||
# unsorted.
|
# unsorted.
|
||||||
sorted_lists_of_attrs = list_of_attrs.map(
|
sorted_lists_of_attrs = list_of_attrs.map(
|
||||||
lambda l: sorted(l, key=attrgetter("counter"))
|
lambda ln: sorted(ln, key=attrgetter("counter"))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue