Skip to content
Snippets Groups Projects
Commit 1faa79e7 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-240-fix-pylint-warnings' into 'dev'

Fix pylint warnings

See merge request !181
parents c2062ba5 d3b90636
Branches
Tags
2 merge requests!189ENH: add convenience functions,!181Fix pylint warnings
Pipeline #62623 failed
......@@ -55,7 +55,7 @@ from .utils.get_entity import (get_entity_by_id, get_entity_by_name,
get_entity_by_path)
try:
from .version import version as __version__
from .version import version as __version__ # pylint: disable=import-error
except ModuleNotFoundError:
version = "uninstalled"
__version__ = version
......
......@@ -47,7 +47,7 @@ from ..exceptions import (ConfigurationError, HTTPClientError,
LoginFailedError)
try:
from ..version import version
from ..version import version # pylint: disable=import-error
except ModuleNotFoundError:
version = "uninstalled"
......@@ -56,11 +56,12 @@ from .interface import CaosDBHTTPResponse, CaosDBServerConnection
from .utils import make_uri_path, urlencode
from typing import TYPE_CHECKING
from .authentication.interface import CredentialsAuthenticator
if TYPE_CHECKING:
from typing import Optional, Any, Iterator, Union
from requests.models import Response
from ssl import _SSLMethod
from .authentication.interface import AbstractAuthenticator, CredentialsAuthenticator
from ssl import _SSLMethod # pylint: disable=no-name-in-module
from .authentication.interface import AbstractAuthenticator
_LOGGER = logging.getLogger(__name__)
......
......@@ -384,7 +384,7 @@ class MultipartYielder(object):
# since python 3
def __next__(self):
return self.next()
return self.next() # pylint: disable=not-callable
def next(self):
"""generator function to yield multipart/form-data representation of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment