Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
1faa79e7
Commit
1faa79e7
authored
3 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Plain Diff
Merge branch 'f-240-fix-pylint-warnings' into 'dev'
Fix pylint warnings See merge request
!181
parents
c2062ba5
d3b90636
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!189
ENH: add convenience functions
,
!181
Fix pylint warnings
Pipeline
#62623
failed
2 months ago
Stage: setup
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
3
Pipelines
9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/linkahead/__init__.py
+1
-1
1 addition, 1 deletion
src/linkahead/__init__.py
src/linkahead/connection/connection.py
+4
-3
4 additions, 3 deletions
src/linkahead/connection/connection.py
src/linkahead/connection/encode.py
+1
-1
1 addition, 1 deletion
src/linkahead/connection/encode.py
with
6 additions
and
5 deletions
src/linkahead/__init__.py
+
1
−
1
View file @
1faa79e7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/linkahead/connection/connection.py
+
4
−
3
View file @
1faa79e7
...
...
@@ -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__
)
...
...
This diff is collapsed.
Click to expand it.
src/linkahead/connection/encode.py
+
1
−
1
View file @
1faa79e7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment