First, format with black.
authorfunilrys <redacted>
Wed, 27 May 2020 19:59:34 +0000 (21:59 +0200)
committerfunilrys <redacted>
Wed, 27 May 2020 19:59:34 +0000 (21:59 +0200)
testUpdateHostsFile.py
updateReadme.py

index 55f6db55ec2d73c4b0c3eb8a0d594f0d6ae8e5da..62616dbc9506d0f75c93c74370b64081868bd157 100644 (file)
@@ -1743,9 +1743,7 @@ class TestIsValidDomainFormat(BaseStdout):
         self.assertTrue(expected in output)
 
     def test_invalid_domain(self):
-        expected = (
-            "Do not include www.domain.com or http(s)://domain.com. Try again."
-        )
+        expected = "Do not include www.domain.com or http(s)://domain.com. Try again."
 
         for invalid_domain in [
             "www.subdomain.domain",
index b4b0be192f43100f81496e5a2ca90b620aec80e2..f7530d4ab538ce6db0697cae062250304970795a 100644 (file)
@@ -80,7 +80,10 @@ def main():
             source_rows += t.substitute(this_row) + "\n"
 
         with open(
-            os.path.join(data[key]["location"], README_FILENAME), "wt", encoding="utf-8", newline="\n"
+            os.path.join(data[key]["location"], README_FILENAME),
+            "wt",
+            encoding="utf-8",
+            newline="\n",
         ) as out:
             for line in open(README_TEMPLATE, encoding="utf-8", newline="\n"):
                 line = line.replace(
git clone https://git.99rst.org/PROJECT