Skip to content

Commit c270150

Browse files
committed
Update black version in pre-commit
1 parent 1d6379e commit c270150

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: clang-tidy
2121
args: [--fix, --fix-errors]
2222
- repo: https://github.com/psf/black
23-
rev: 19.10b0
23+
rev: 21.7b0
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/asottile/blacken-docs

python/tests/_test_instance_old.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515

1616
requires_pyscipopt = pytest.mark.skipif(
17-
importlib.util.find_spec("pyscipopt") is None, reason="PyScipOpt is not installed.",
17+
importlib.util.find_spec("pyscipopt") is None,
18+
reason="PyScipOpt is not installed.",
1819
)
1920

2021

python/tests/test_scip.py

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

77

88
requires_pyscipopt = pytest.mark.skipif(
9-
importlib.util.find_spec("pyscipopt") is None, reason="PyScipOpt is not installed.",
9+
importlib.util.find_spec("pyscipopt") is None,
10+
reason="PyScipOpt is not installed.",
1011
)
1112

1213

0 commit comments

Comments
 (0)