From: Peter Pentchev Date: Thu, 22 Oct 2020 12:57:16 +0000 (+0300) Subject: debian/tests/pychunk: reformat using black 20. X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b7ff3119bf682bd06bc83a45c3e7bca803b1850;p=zchunk.git debian/tests/pychunk: reformat using black 20. --- 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}