Fix linting issues
This commit is contained in:
Родитель
09639288d6
Коммит
ba19f9b0e8
4
pylintrc
4
pylintrc
|
@ -13,7 +13,6 @@ load-plugins=pylint.extensions.docparams,pylint.extensions.docstyle,pylint.exten
|
|||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# C0330 bad-continuation: Wrong hanging indentation before block
|
||||
# C0413 wrong-import-position: Import “%s” should be placed at the top of the module Used when code and imports are mixed
|
||||
# C1801 len-as-condition: Do not use `len(SEQUENCE)` as condition value
|
||||
# W0511 fixme: TODO statements
|
||||
|
@ -21,7 +20,8 @@ load-plugins=pylint.extensions.docparams,pylint.extensions.docstyle,pylint.exten
|
|||
# W1201 logging-not-lazy: Specify string format arguments as logging function parameters
|
||||
# W1202 logging-format-interpolation: Use % formatting in logging functions and pass the % parameters as arguments
|
||||
# W1203 logging-fstring-interpolation: Use % formatting in logging functions and pass the % parameters as arguments
|
||||
disable=C0330,C0413,C1801,W0511,W0703,W1201,W1202,W1203
|
||||
# W3101 missing-timeout: Missing timeout argument for method 'requests.*'
|
||||
disable=C0413,C1801,W0511,W0703,W1201,W1202,W1203,W3101
|
||||
|
||||
|
||||
[REPORTS]
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import enum
|
||||
import logging
|
||||
import os
|
||||
from typing import Any, Dict, List, Optional
|
||||
from typing import Any, Callable, Dict, List, Optional
|
||||
import urllib.parse
|
||||
|
||||
from simple_ado.base_client import ADOBaseClient
|
||||
|
|
Загрузка…
Ссылка в новой задаче