Skip to content

Commit

Permalink
Moving from __future__ to start of file
Browse files Browse the repository at this point in the history
  • Loading branch information
gvwilson committed Jul 21, 2016
1 parent 5f116cd commit aa316f8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/extract_figures.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down
1 change: 1 addition & 0 deletions bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Check lesson files and their contents.
"""

from __future__ import print_function
import sys
import os
import glob
Expand Down
2 changes: 1 addition & 1 deletion bin/lesson_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion bin/repo_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
Check repository settings.
"""

from __future__ import print_function
import sys
import os
from subprocess import Popen, PIPE
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:
Expand Down
2 changes: 1 addition & 1 deletion bin/util.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion bin/workshop_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'[^@]+@[^@]+\.[^@]+'
Expand Down

0 comments on commit aa316f8

Please sign in to comment.