integrations: Remove from __future__ imports.
This commit is contained in:
parent
a465467388
commit
1412403037
|
@ -4,7 +4,6 @@
|
||||||
# IRC <=> Zulip mirroring bot
|
# IRC <=> Zulip mirroring bot
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
import argparse
|
import argparse
|
||||||
import zulip
|
import zulip
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
#
|
#
|
||||||
# python-dateutil is a dependency for this script.
|
# python-dateutil is a dependency for this script.
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import requests
|
import requests
|
||||||
import logging
|
import logging
|
||||||
import pytz
|
import pytz
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
# For example:
|
# For example:
|
||||||
# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
|
# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from typing import Text
|
from typing import Text
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import print_function
|
|
||||||
import datetime
|
import datetime
|
||||||
import httplib2
|
import httplib2
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#
|
#
|
||||||
# This script depends on python-dateutil and python-pytz for properly handling
|
# This script depends on python-dateutil and python-pytz for properly handling
|
||||||
# times and time zones of calendar events.
|
# times and time zones of calendar events.
|
||||||
from __future__ import print_function
|
|
||||||
import datetime
|
import datetime
|
||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
import httplib2
|
import httplib2
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#
|
#
|
||||||
# This hook is called when changesets are pushed to the master repository (ie
|
# This hook is called when changesets are pushed to the master repository (ie
|
||||||
# `hg push`). See https://zulipchat.com/integrations for installation instructions.
|
# `hg push`). See https://zulipchat.com/integrations for installation instructions.
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import zulip
|
import zulip
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import errno
|
import errno
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
# 2007 Trolltech ASA
|
# 2007 Trolltech ASA
|
||||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import division
|
|
||||||
import sys
|
import sys
|
||||||
import six
|
import six
|
||||||
from six.moves import input
|
from six.moves import input
|
||||||
|
|
|
@ -14,7 +14,6 @@ For example:
|
||||||
1234 //depot/security/src/
|
1234 //depot/security/src/
|
||||||
|
|
||||||
'''
|
'''
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# RSS integration for Zulip
|
# RSS integration for Zulip
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
import calendar
|
import calendar
|
||||||
import errno
|
import errno
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
# An easy Trello integration for Zulip.
|
# An easy Trello integration for Zulip.
|
||||||
|
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
# Twitter integration for Zulip
|
# Twitter integration for Zulip
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import optparse
|
import optparse
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from typing import IO, Any, Dict, List, Text, Union, Set, Tuple, Optional, cast
|
from typing import IO, Any, Dict, List, Text, Union, Set, Tuple, Optional, cast
|
||||||
from types import FrameType
|
from types import FrameType
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue