isort: Reformat using isort.
This commit is contained in:
parent
37e2596124
commit
5580c68ae5
162 changed files with 539 additions and 444 deletions
|
@ -1,13 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
import os
|
||||
import traceback
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import traceback
|
||||
from types import FrameType
|
||||
|
||||
from zulip import RandomExponentialBackoff
|
||||
|
||||
|
||||
def die(signal: int, frame: FrameType) -> None:
|
||||
"""We actually want to exit, so run os._exit (so as not to be caught and restarted)"""
|
||||
os._exit(1)
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
import logging
|
||||
import optparse
|
||||
import sys
|
||||
from configparser import SafeConfigParser
|
||||
|
||||
# The following is a table showing which kinds of messages are handled by the
|
||||
# mirror in each mode:
|
||||
#
|
||||
|
@ -37,18 +42,13 @@
|
|||
# | other sender| x | | |
|
||||
# public mode +-------------+-----+----+--------+----
|
||||
# | self sender | | | |
|
||||
from typing import Dict, List, Set, Optional
|
||||
from typing import Any, Callable, Dict, List, Optional, Set
|
||||
|
||||
import logging
|
||||
import optparse
|
||||
|
||||
from sleekxmpp import ClientXMPP, InvalidJID, JID
|
||||
from sleekxmpp import JID, ClientXMPP, InvalidJID
|
||||
from sleekxmpp.stanza import Message as JabberMessage
|
||||
from configparser import SafeConfigParser
|
||||
import sys
|
||||
|
||||
import zulip
|
||||
from zulip import Client
|
||||
from typing import Any, Callable
|
||||
|
||||
__version__ = "1.1"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue