mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-23 00:34:22 +01:00
Apply isort to all python files (bfxapi/**/*.py).
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import Dict, Any
|
||||
import json
|
||||
import re
|
||||
from typing import Any, Dict
|
||||
|
||||
import re, json
|
||||
|
||||
def _to_snake_case(string: str) -> str:
|
||||
return re.sub(r"(?<!^)(?=[A-Z])", "_", string).lower()
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
from typing import \
|
||||
Union, List, Dict, \
|
||||
Any
|
||||
|
||||
import json
|
||||
|
||||
from decimal import Decimal
|
||||
from typing import Any, Dict, List, Union
|
||||
|
||||
_ExtJSON = Union[Dict[str, "_ExtJSON"], List["_ExtJSON"], \
|
||||
bool, int, float, str, Decimal, None]
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
from typing import \
|
||||
TYPE_CHECKING, Literal, Optional
|
||||
import sys
|
||||
from copy import copy
|
||||
|
||||
#pylint: disable-next=wildcard-import,unused-wildcard-import
|
||||
from logging import *
|
||||
|
||||
from copy import copy
|
||||
|
||||
import sys
|
||||
from typing import TYPE_CHECKING, Literal, Optional
|
||||
|
||||
if TYPE_CHECKING:
|
||||
_Level = Literal["NOTSET", "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
|
||||
|
||||
Reference in New Issue
Block a user