Skip to content

Commit d6357ee

Browse files
committed
test(pre-commit): upgrade black to 21.4b1
1 parent ddb1527 commit d6357ee

4 files changed

+6
-6
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
pass_filenames: false
3333

3434
- repo: https://github.com/psf/black
35-
rev: 20.8b1
35+
rev: 21.4b1
3636
hooks:
3737
- id: black
3838
types: [text]

test/requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python >= 3.6.1 required here
22
-r requirements.txt
3-
black==20.8b1
3+
black==21.4b1
44
mypy>=0.790
55
pre-commit>=2.4.0

test/t/unit/test_unit_get_comp_words_by_ref.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def test_4(self, bash):
4141
assert output == ","
4242

4343
def test_5(self, bash):
44-
"""|a """
44+
"""|a """ # fmt: skip
4545
output = self._test(bash, "(a)", 0, "a ", 0)
4646
assert output == ","
4747

4848
def test_6(self, bash):
49-
""" | a """
49+
""" | a """ # fmt: skip
5050
output = self._test(bash, "(a)", 0, " a ", 1)
5151
assert output.strip() == ","
5252

test/t/unit/test_unit_get_cword.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ def test_7(self, bash):
4949
assert output == r"b\ c"
5050

5151
def test_8(self, bash):
52-
r"""a b\| c should return b\ """
52+
r"""a b\| c should return b\ """ # fmt: skip
5353
output = self._test(bash, r"(a 'b\ c')", 1, r"a b\ c", 4)
5454
assert output == "b\\"
5555

5656
def test_9(self, bash):
57-
r"""a "b\| should return "b\ """
57+
r"""a "b\| should return "b\ """ # fmt: skip
5858
output = self._test(bash, "(a '\"b\\')", 1, r"a \"b\\", 5)
5959
assert output == '"b\\'
6060

0 commit comments

Comments
 (0)