Skip to content

Commit 61cfaac

Browse files
[pre-commit.ci] pre-commit autoupdate (#10671)
updates: - [github.com/asottile/blacken-docs: v1.12.1 → 1.13.0](adamchainz/blacken-docs@v1.12.1...1.13.0) - [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](pre-commit/pygrep-hooks@v1.9.0...v1.10.0)
1 parent 03b1994 commit 61cfaac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ repos:
77
- id: black
88
args: [--safe, --quiet]
99
- repo: https://github.com/asottile/blacken-docs
10-
rev: v1.12.1
10+
rev: 1.13.0
1111
hooks:
1212
- id: blacken-docs
13-
additional_dependencies: [black==20.8b1]
13+
additional_dependencies: [black==22.12.0]
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
1515
rev: v4.4.0
1616
hooks:
@@ -54,7 +54,7 @@ repos:
5454
- id: setup-cfg-fmt
5555
args: ["--max-py-version=3.11", "--include-version-classifiers"]
5656
- repo: https://github.com/pre-commit/pygrep-hooks
57-
rev: v1.9.0
57+
rev: v1.10.0
5858
hooks:
5959
- id: python-use-type-annotations
6060
- repo: https://github.com/pre-commit/mirrors-mypy

doc/en/deprecations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ that are then turned into proper test methods. Example:
10521052
.. code-block:: python
10531053
10541054
def check(x, y):
1055-
assert x ** x == y
1055+
assert x**x == y
10561056
10571057
10581058
def test_squared():
@@ -1067,7 +1067,7 @@ This form of test function doesn't support fixtures properly, and users should s
10671067
10681068
@pytest.mark.parametrize("x, y", [(2, 4), (3, 9)])
10691069
def test_squared(x, y):
1070-
assert x ** x == y
1070+
assert x**x == y
10711071
10721072
.. _internal classes accessed through node deprecated:
10731073

0 commit comments

Comments
 (0)