From 7b7ff3119bf682bd06bc83a45c3e7bca803b1850 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Thu, 22 Oct 2020 15:57:16 +0300 Subject: [PATCH] debian/tests/pychunk: reformat using black 20. --- debian/tests/pychunk/compile.py | 4 +++- debian/tests/tox.ini | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/tests/pychunk/compile.py b/debian/tests/pychunk/compile.py index 33d4a1c..e87e09c 100755 --- a/debian/tests/pychunk/compile.py +++ b/debian/tests/pychunk/compile.py @@ -28,7 +28,9 @@ def parse_args(dirname: str) -> Config: """Parse the command-line arguments, deduce some things.""" parser = common.base_parser("compile") parser.add_argument( - "source", type=str, help="path to the test program source file", + "source", + type=str, + help="path to the test program source file", ) args = parser.parse_args() diff --git a/debian/tests/tox.ini b/debian/tests/tox.ini index 04bf7d4..20ca808 100644 --- a/debian/tests/tox.ini +++ b/debian/tests/tox.ini @@ -13,14 +13,14 @@ files = [testenv:black] basepython = python3 deps = - black >= 19b0, < 20b0 + black >= 20b0, < 21b0 commands = python3 -m black --check --line-length 79 {[defs]files} [testenv:black-reformat] basepython = python3 deps = - black >= 19b0, < 20b0 + black >= 20b0, < 21b0 commands = python3 -m black --line-length 79 {[defs]files} -- 2.30.2