Moving from __future__ to start of file
authorGreg Wilson <gvwilson@third-bit.com>
Thu, 21 Jul 2016 17:29:27 +0000 (13:29 -0400)
committerGreg Wilson <gvwilson@third-bit.com>
Thu, 21 Jul 2016 17:29:27 +0000 (13:29 -0400)
bin/extract_figures.py
bin/lesson_check.py
bin/lesson_initialize.py
bin/repo_check.py
bin/util.py
bin/workshop_check.py

index 56ee812ed281f3b08eb32dd06e1b943c8b4a2456..63a7752ef8706d708daad4316188f566fb6f9b6f 100755 (executable)
@@ -1,12 +1,12 @@
 #!/usr/bin/env python
 
+from __future__ import print_function
 import sys
 import os
 import glob
 from optparse import OptionParser
 
 from util import Reporter, read_markdown, IMAGE_FILE_SUFFIX
-from __future__ import print_function
 
 def main():
     """Main driver."""
index 95ceb5ee260aa2f3eb413aaa879c76ea52f41562..ace8de6943c9a5552827f68952ed2d2eda0a72fc 100755 (executable)
@@ -4,6 +4,7 @@
 Check lesson files and their contents.
 """
 
+from __future__ import print_function
 import sys
 import os
 import glob
index 9f372632167941795ffc8970af9275747a7df571..ef275399a470d9e2c69cf77075ed867765c12361 100755 (executable)
@@ -3,9 +3,9 @@
 """Initialize a newly-created repository."""
 
 
+from __future__ import print_function
 import sys
 import os
-from __future__ import print_function
 
 ROOT_AUTHORS = '''\
 FIXME: list authors' names and email addresses.
index 2c84e54e84254098f140de2c873d611a648699f8..fd04ce936bbb99c1042f044a5edaa9509c7ab66b 100755 (executable)
@@ -4,6 +4,7 @@
 Check repository settings.
 """
 
+from __future__ import print_function
 import sys
 import os
 from subprocess import Popen, PIPE
@@ -11,7 +12,6 @@ import re
 from optparse import OptionParser
 
 from util import Reporter, load_yaml, require
-from __future__ import print_function
 
 # Import this way to produce a more useful error message.
 try:
index e59866f8c1cec97b77b7d09307cb6ed6e93b2bd2..0cc8de69d130481bdc354a2a0ff2ccf761cb52e7 100644 (file)
@@ -1,8 +1,8 @@
+from __future__ import print_function
 import sys
 import os
 import json
 from subprocess import Popen, PIPE
-from __future__ import print_function
 
 # Import this way to produce a more useful error message.
 try:
index 3699c9938afd72507662829db5ac5b94897f8ac4..d3051bf1a9dca94682b810990e6927b53ba239af 100755 (executable)
@@ -4,12 +4,12 @@
 docstrings on the checking functions for a summary of the checks.
 '''
 
+from __future__ import print_function
 import sys
 import os
 import re
 from datetime import date
 from util import Reporter, split_metadata, load_yaml, check_unwanted_files
-from __future__ import print_function
 
 # Metadata field patterns.
 EMAIL_PATTERN = r'[^@]+@[^@]+\.[^@]+'