tools: Remove print_function.

Tweaked by tabbott to exclude the linter libraries.
This commit is contained in:
rht 2017-09-27 23:32:06 +02:00 committed by Tim Abbott
parent 71188d7b0a
commit f15bdce90e
51 changed files with 0 additions and 55 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
# check for the venv
from lib import sanity_check

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from lib.css_parser import parse, CssParserException
from typing import Iterable, Text
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from typing import List, Text
# check for the venv

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import requests
import re

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import optparse

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from lib.template_parser import validate
from lib.html_branches import build_id_dict
from lib.pretty_print import validate_indent_html

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import re
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import glob

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
# check for the venv
from lib import sanity_check

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import platform
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import pathlib

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import logging
import re

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from lib.find_add_class import display, find
import glob

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import sys
import re
import json

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from lib.html_grep import grep
import optparse
import sys

View File

@ -4,7 +4,6 @@ $ ./tools/js-dep-visualizer.py
$ dot -Tpng var/zulip-deps.dot -o var/zulip-deps.png
"""
from __future__ import print_function
import os
import re

View File

@ -1,4 +1,3 @@
from __future__ import print_function
if False:
from typing import Any

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from six.moves import range
from typing import Callable, List, Tuple, Union

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from typing import List, Set, Tuple

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from collections import defaultdict

View File

@ -1,5 +1,3 @@
from __future__ import print_function
from typing import Dict, List, Optional, Set
import re

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from collections import defaultdict
from six.moves import range
from typing import Dict, List, Set

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from typing import Any, Dict, List

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import sys
import logging

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import pwd

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from typing import Callable, List, Optional
from six.moves import range
import re

View File

@ -1,5 +1,3 @@
from __future__ import print_function
from typing import Optional, Tuple
import os

View File

@ -1,4 +1,3 @@
from __future__ import print_function
import os
import subprocess

View File

@ -2,7 +2,6 @@
# Minifies JavaScripts, creating source maps
from __future__ import print_function
import os
import subprocess

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from typing import List
from lib.pretty_print import pretty_print_html
import sys

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
from six.moves import input, map, range
import glob
import os

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import io
import sys

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import subprocess
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import optparse
import os

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import sys
import pstats

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import signal

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import sys

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
from typing import List, Any
import glob
import optparse

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import optparse
import os
import sys

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
import optparse
import os
import subprocess

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import sys

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import os
import sys

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import argparse
import os

View File

@ -1,4 +1,3 @@
from __future__ import print_function
from typing import cast, Any

View File

@ -1,4 +1,3 @@
from __future__ import print_function
import unittest
import os

View File

@ -1,5 +1,3 @@
from __future__ import print_function
import unittest
from tools.lib.pretty_print import pretty_print_html

View File

@ -1,5 +1,3 @@
from __future__ import print_function
from typing import Optional, Any
import sys

View File

@ -4,7 +4,6 @@ Fetch contributors data from Github using their API, convert it to structured
JSON data for the /about page authors section.
"""
# check for the venv
from lib import sanity_check
sanity_check.check_venv(__file__)

View File

@ -21,7 +21,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
from __future__ import print_function
import sys
import os
import optparse