mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Edit .pylintrc with new rules.
This commit is contained in:
12
.pylintrc
12
.pylintrc
@@ -17,12 +17,24 @@ disable=
|
|||||||
dangerous-default-value,
|
dangerous-default-value,
|
||||||
inconsistent-return-statements,
|
inconsistent-return-statements,
|
||||||
|
|
||||||
|
[VARIABLES]
|
||||||
|
|
||||||
|
allowed-redefined-builtins=type,dir,id,all,format,len
|
||||||
|
|
||||||
[FORMAT]
|
[FORMAT]
|
||||||
|
|
||||||
max-line-length=120
|
max-line-length=120
|
||||||
|
|
||||||
|
expected-line-ending-format=LF
|
||||||
|
|
||||||
|
[BASIC]
|
||||||
|
|
||||||
good-names=id,on,pl,t,ip,tf,A,B,C,D,E,F
|
good-names=id,on,pl,t,ip,tf,A,B,C,D,E,F
|
||||||
|
|
||||||
[TYPECHECK]
|
[TYPECHECK]
|
||||||
|
|
||||||
generated-members=websockets
|
generated-members=websockets
|
||||||
|
|
||||||
|
[STRING]
|
||||||
|
|
||||||
|
check-quote-consistency=yes
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#pylint: disable=redefined-builtin
|
|
||||||
|
|
||||||
from typing import Dict, List, Tuple, Union, Literal, Optional
|
from typing import Dict, List, Tuple, Union, Literal, Optional
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#pylint: disable=redefined-builtin
|
|
||||||
|
|
||||||
from typing import TypedDict, Dict, List, Union, Literal, Optional, Any
|
from typing import TypedDict, Dict, List, Union, Literal, Optional, Any
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#pylint: disable=redefined-builtin
|
|
||||||
|
|
||||||
from typing import List, Union, Literal, Optional, Any, cast
|
from typing import List, Union, Literal, Optional, Any, cast
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#pylint: disable=redefined-builtin
|
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user