build.run: use keyword-only arguments where appropriate.
authorwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 22:52:58 +0000 (22:52 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 22:52:58 +0000 (22:52 +0000)
nmigen/build/run.py

index 14409c9f9762d771f379fef7803285e276af9555..c512b1f9c262aa3538a95630ebbbcf5cd0480072 100644 (file)
@@ -43,7 +43,7 @@ class BuildPlan:
             for filename in sorted(self.files):
                 archive.writestr(zipfile.ZipInfo(filename), self.files[filename])
 
-    def execute_local(self, root="build", run_script=True):
+    def execute_local(self, root="build", *, run_script=True):
         """
         Execute build plan using the local strategy. Files from the build plan are placed in
         the build root directory ``root``, and, if ``run_script`` is ``True``, the script