Skip to content

Commit 9850454

Browse files
[pre-commit.ci] pre-commit autoupdate (#1129)
<!--pre-commit.ci start--> updates: - [github.com/python-jsonschema/check-jsonschema.git: 0.30.0 → 0.32.1](https://github.com/python-jsonschema/check-jsonschema.git/compare/0.30.0...0.32.1) - [github.com/adrienverge/yamllint.git: v1.35.1 → v1.37.0](https://github.com/adrienverge/yamllint.git/compare/v1.35.1...v1.37.0) - [github.com/PyCQA/flake8.git: 7.1.1 → 7.2.0](https://github.com/PyCQA/flake8.git/compare/7.1.1...7.2.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]>
1 parent 910a498 commit 9850454

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/python-jsonschema/check-jsonschema.git
8-
rev: 0.30.0
8+
rev: 0.32.1
99
hooks:
1010
- id: check-github-workflows
1111
files: ^\.github/workflows/[^/]+$
@@ -23,14 +23,14 @@ repos:
2323
- id: check-readthedocs
2424

2525
- repo: https://github.com/adrienverge/yamllint.git
26-
rev: v1.35.1
26+
rev: v1.37.0
2727
hooks:
2828
- id: yamllint
2929
args:
3030
- --strict
3131

3232
- repo: https://github.com/PyCQA/flake8.git
33-
rev: 7.1.1
33+
rev: 7.2.0
3434
hooks:
3535
- id: flake8
3636
alias: flake8-no-wps

multidict/_multidict_py.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def __init__(self) -> None:
5656
self.incr_version()
5757

5858
def incr_version(self) -> None:
59-
global _version
6059
v = _version
6160
v[0] += 1
6261
self._version = v[0]

tests/test_multidict.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def chained_call(
3939
*args: object,
4040
**kwargs: object,
4141
) -> MultiMapping[int | str] | MutableMultiMapping[int | str]:
42-
nonlocal callables
43-
4442
callable_chain = (getattr(module, name) for name in callables)
4543
first_callable = next(callable_chain)
4644

0 commit comments

Comments
 (0)