File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import ssl
2+
13import logbook
24import logbook .more
3- import ssl
45from aiohttp import web
56
67from threema .gateway import (
Original file line number Diff line number Diff line change @@ -9,11 +9,8 @@ line_length = 90
99multi_line_output = 3
1010force_grid_wrap = true
1111balanced_wrapping = true
12- order_by_type = true
1312atomic = true
1413include_trailing_comma = true
15- known_standard_library = asyncio,typing
16- known_first_party = threema
1714
1815[tool:pytest]
1916asyncio_mode =strict
Original file line number Diff line number Diff line change 11import ast
22import os
33import sys
4+
45from setuptools import (
56 find_packages ,
67 setup ,
Original file line number Diff line number Diff line change 11import asyncio
22import asyncio .subprocess
3-
4- import aiohttp
53import binascii
64import collections
75import copy
86import hashlib
97import hmac
108import os
11- import pytest
129import socket
1310import ssl
1411import subprocess
1512import sys
1613import time
17- from aiohttp import web
1814from contextlib import closing
1915
16+ import aiohttp
17+ import pytest
18+ from aiohttp import web
19+
2020import threema .gateway
2121from threema .gateway import e2e
2222from threema .gateway .key import Key
Original file line number Diff line number Diff line change 1- import pytest
21import subprocess
32
3+ import pytest
4+
45from threema .gateway import ReceptionCapability
56from threema .gateway import __version__ as _version
67from threema .gateway import feature_level
Original file line number Diff line number Diff line change 1- import aiohttp
21import enum
2+
3+ import aiohttp
34import libnacl .encode
45import libnacl .public
56
Original file line number Diff line number Diff line change 22The command line interface for the Threema gateway service.
33"""
44import binascii
5+ import os
6+ import re
7+
58import click
69import logbook
710import logbook .more
8- import os
9- import re
1011
1112from threema .gateway import Connection
1213from threema .gateway import __version__ as _version
Original file line number Diff line number Diff line change 11"""
22Provides classes and functions for the end-to-end encryption mode.
33"""
4- from typing import Tuple
5-
64import abc
75import binascii
86import collections
1210import hashlib
1311import hmac
1412import json
13+ import mimetypes
14+ import os
15+ import struct
16+ from typing import Tuple
17+
1518import libnacl
1619import libnacl .encode
1720import libnacl .public
1821import libnacl .secret
19- import mimetypes
20- import os
21- import struct
2222from aiohttp import web
2323
2424from . import ReceptionCapability
Original file line number Diff line number Diff line change 44import enum
55import hashlib
66import hmac
7+
78import libnacl .encode
89import libnacl .public
910import libnacl .secret
Original file line number Diff line number Diff line change 22Utility functions.
33"""
44import asyncio
5- from typing import Set # noqa
6-
75import collections
86import functools
97import inspect
108import io
9+ import logging
10+ import os
11+ from typing import Set # noqa
12+
1113import libnacl
1214import logbook
1315import logbook .compat
1416import logbook .more
15- import logging
16- import os
1717import wrapt
1818
1919from .key import Key
You can’t perform that action at this time.
0 commit comments