Skip to content

Commit d343d33

Browse files
authored
Merge pull request #873 from scop/renovate/major-black
chore(deps): update black to v23 (major)
2 parents 0a2ec08 + 77be1a8 commit d343d33

15 files changed

+2
-16
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
pass_filenames: false
4444

4545
- repo: https://github.com/psf/black
46-
rev: 22.10.0
46+
rev: 23.1.0
4747
hooks:
4848
- id: black
4949
types: [text]

test/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
-r requirements.txt
44

5-
black ==22.10.0
5+
black ==23.1.0
66

77
flake8 ==6.0.0
88
pycodestyle ==2.10.0

test/t/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def partialize(
186186

187187
@pytest.fixture(scope="class")
188188
def bash(request) -> pexpect.spawn:
189-
190189
logfile: Optional[TextIO] = None
191190
histfile = None
192191
tmpdir = None
@@ -817,7 +816,6 @@ def assert_complete(
817816
pytest.xfail(xfail)
818817

819818
with bash_env_saved(bash, sendintr=True) as bash_env:
820-
821819
cwd = kwargs.get("cwd")
822820
if cwd:
823821
bash_env.chdir(str(cwd))

test/t/test_chmod.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestChmod:
5-
65
# No completion here until mode completion is implemented
76
@pytest.mark.complete("chmod ")
87
def test_1(self, completion):

test/t/test_createdb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestCreatedb:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"createdb -", require_cmd=True, xfail="! createdb --help &>/dev/null"

test/t/test_createuser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestCreateuser:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"createuser -", xfail="! createuser --help &>/dev/null"

test/t/test_dropdb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestDropdb:
5-
65
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
76
@pytest.mark.complete(
87
"dropdb -", require_cmd=True, xfail="! dropdb --help &>/dev/null"

test/t/test_killall.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestKillall:
5-
65
# "p": Assume our process name completion runs ps and at least it is shown
76
@pytest.mark.complete("killall p")
87
def test_1(self, completion):

test/t/test_man.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
ignore_env=r"^[+-]((BASHOPTS|MANPATH|manpath)=|shopt -. failglob)"
1313
)
1414
class TestMan:
15-
1615
manpath = "$PWD/man"
1716
assumed_present = "man"
1817

test/t/test_munindoc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class TestMunindoc:
5-
65
# Assume at least munin* available
76
# require_cmd is not strictly correct here, but...
87
@pytest.mark.complete("munindoc m", require_cmd=True)

0 commit comments

Comments
 (0)