debian/tests/pychunk: reformat using black 20.
authorPeter Pentchev <roam@debian.org>
Thu, 22 Oct 2020 12:57:16 +0000 (15:57 +0300)
committerPeter Pentchev <roam@debian.org>
Thu, 22 Oct 2020 12:57:16 +0000 (15:57 +0300)
debian/tests/pychunk/compile.py
debian/tests/tox.ini

index 33d4a1c584e195a241b9817583179602c3b81bab..e87e09c516b6a5c785c9df6f4e44fee2a2203a2b 100755 (executable)
@@ -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()
index 04bf7d41c4d999f72ce233caac6e583899b10009..20ca808ad1cde510a6c3ecbcefbd4377c9e03631 100644 (file)
@@ -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}