diff --git a/zulip/integrations/bridge_with_irc/irc-mirror.py b/zulip/integrations/bridge_with_irc/irc-mirror.py index 84be1bb..f03c1f2 100755 --- a/zulip/integrations/bridge_with_irc/irc-mirror.py +++ b/zulip/integrations/bridge_with_irc/irc-mirror.py @@ -4,7 +4,6 @@ # IRC <=> Zulip mirroring bot # -from __future__ import print_function import argparse import zulip import sys diff --git a/zulip/integrations/codebase/zulip_codebase_mirror b/zulip/integrations/codebase/zulip_codebase_mirror index a829dd6..73d2ffb 100755 --- a/zulip/integrations/codebase/zulip_codebase_mirror +++ b/zulip/integrations/codebase/zulip_codebase_mirror @@ -9,8 +9,6 @@ # # python-dateutil is a dependency for this script. -from __future__ import print_function -from __future__ import absolute_import import requests import logging import pytz diff --git a/zulip/integrations/git/post-receive b/zulip/integrations/git/post-receive index ba3654a..d45a10f 100755 --- a/zulip/integrations/git/post-receive +++ b/zulip/integrations/git/post-receive @@ -10,7 +10,6 @@ # For example: # aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master -from __future__ import absolute_import from typing import Text import os import sys diff --git a/zulip/integrations/google/get-google-credentials b/zulip/integrations/google/get-google-credentials index b9dad19..e04cb18 100644 --- a/zulip/integrations/google/get-google-credentials +++ b/zulip/integrations/google/get-google-credentials @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function import datetime import httplib2 import os diff --git a/zulip/integrations/google/google-calendar b/zulip/integrations/google/google-calendar index 2fd8911..3e93939 100755 --- a/zulip/integrations/google/google-calendar +++ b/zulip/integrations/google/google-calendar @@ -2,7 +2,6 @@ # # This script depends on python-dateutil and python-pytz for properly handling # times and time zones of calendar events. -from __future__ import print_function import datetime import dateutil.parser import httplib2 diff --git a/zulip/integrations/hg/zulip_changegroup.py b/zulip/integrations/hg/zulip_changegroup.py index 4cc7e8e..aa6e257 100755 --- a/zulip/integrations/hg/zulip_changegroup.py +++ b/zulip/integrations/hg/zulip_changegroup.py @@ -5,7 +5,6 @@ # # This hook is called when changesets are pushed to the master repository (ie # `hg push`). See https://zulipchat.com/integrations for installation instructions. -from __future__ import absolute_import import zulip import sys diff --git a/zulip/integrations/jabber/jabber_mirror.py b/zulip/integrations/jabber/jabber_mirror.py index 0992e00..eb59e6d 100755 --- a/zulip/integrations/jabber/jabber_mirror.py +++ b/zulip/integrations/jabber/jabber_mirror.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import print_function import sys import subprocess import os diff --git a/zulip/integrations/log2zulip/log2zulip b/zulip/integrations/log2zulip/log2zulip index 1a3f41a..bd1ca26 100755 --- a/zulip/integrations/log2zulip/log2zulip +++ b/zulip/integrations/log2zulip/log2zulip @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function import argparse import errno diff --git a/zulip/integrations/perforce/git_p4.py b/zulip/integrations/perforce/git_p4.py index 83086f9..c7d02ba 100755 --- a/zulip/integrations/perforce/git_p4.py +++ b/zulip/integrations/perforce/git_p4.py @@ -7,9 +7,6 @@ # 2007 Trolltech ASA # License: MIT # -from __future__ import print_function -from __future__ import absolute_import -from __future__ import division import sys import six from six.moves import input diff --git a/zulip/integrations/perforce/zulip_change-commit.py b/zulip/integrations/perforce/zulip_change-commit.py index 66c1f00..b4f2eb9 100755 --- a/zulip/integrations/perforce/zulip_change-commit.py +++ b/zulip/integrations/perforce/zulip_change-commit.py @@ -14,7 +14,6 @@ For example: 1234 //depot/security/src/ ''' -from __future__ import print_function import os import sys diff --git a/zulip/integrations/rss/rss-bot b/zulip/integrations/rss/rss-bot index f279398..60db9f3 100755 --- a/zulip/integrations/rss/rss-bot +++ b/zulip/integrations/rss/rss-bot @@ -4,7 +4,6 @@ # RSS integration for Zulip # -from __future__ import print_function import calendar import errno import hashlib diff --git a/zulip/integrations/trello/zulip_trello.py b/zulip/integrations/trello/zulip_trello.py index 75a3131..7a04c1b 100755 --- a/zulip/integrations/trello/zulip_trello.py +++ b/zulip/integrations/trello/zulip_trello.py @@ -4,9 +4,6 @@ # An easy Trello integration for Zulip. -from __future__ import absolute_import -from __future__ import print_function - import sys import argparse diff --git a/zulip/integrations/twitter/twitter-bot b/zulip/integrations/twitter/twitter-bot index 27b0b3d..a7ae7eb 100755 --- a/zulip/integrations/twitter/twitter-bot +++ b/zulip/integrations/twitter/twitter-bot @@ -3,7 +3,6 @@ # Twitter integration for Zulip -from __future__ import print_function import os import sys import argparse diff --git a/zulip/integrations/zephyr/check-mirroring b/zulip/integrations/zephyr/check-mirroring index 9632e51..88a85c1 100755 --- a/zulip/integrations/zephyr/check-mirroring +++ b/zulip/integrations/zephyr/check-mirroring @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function -from __future__ import absolute_import import sys import time import optparse diff --git a/zulip/integrations/zephyr/zephyr_mirror.py b/zulip/integrations/zephyr/zephyr_mirror.py index d987c32..e806ba7 100755 --- a/zulip/integrations/zephyr/zephyr_mirror.py +++ b/zulip/integrations/zephyr/zephyr_mirror.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import -from __future__ import print_function import sys import subprocess import os diff --git a/zulip/integrations/zephyr/zephyr_mirror_backend.py b/zulip/integrations/zephyr/zephyr_mirror_backend.py index 6a691b7..c5a205f 100755 --- a/zulip/integrations/zephyr/zephyr_mirror_backend.py +++ b/zulip/integrations/zephyr/zephyr_mirror_backend.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import from typing import IO, Any, Dict, List, Text, Union, Set, Tuple, Optional, cast from types import FrameType