Commit aa316f85 authored by Greg Wilson's avatar Greg Wilson
Browse files

Moving from __future__ to start of file

parent 5f116cdd
#!/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."""
......
......@@ -4,6 +4,7 @@
Check lesson files and their contents.
"""
from __future__ import print_function
import sys
import os
import glob
......
......@@ -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.
......
......@@ -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:
......
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:
......
......@@ -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'[^@]+@[^@]+\.[^@]+'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment