Fix pylint errors
This commit is contained in:
parent
d2cdd3ad24
commit
bed12e8416
|
@ -44,6 +44,7 @@ disable=wrong-import-position,
|
|||
redefined-builtin,
|
||||
useless-suppression,
|
||||
duplicate-code,
|
||||
inconsistent-return-statements
|
||||
# undefined-all-variable
|
||||
|
||||
|
||||
|
@ -79,7 +80,7 @@ ignored-classes=SectionValue
|
|||
# (useful for modules/projects where namespaces are manipulated during runtime
|
||||
# and thus existing member attributes cannot be deduced by static analysis. It
|
||||
# supports qualified module names, as well as Unix pattern matching.
|
||||
#ignored-modules=gevent._corecffi
|
||||
ignored-modules=relstorage.cache._cache_ring
|
||||
|
||||
[DESIGN]
|
||||
max-attributes=12
|
||||
|
|
|
@ -981,7 +981,7 @@ class RelStorage(UndoLogCompatible,
|
|||
|
||||
if self._prepared_txn is not None:
|
||||
# the vote phase has already completed
|
||||
return
|
||||
return None
|
||||
|
||||
cursor = self._store_cursor
|
||||
assert cursor is not None
|
||||
|
|
Loading…
Reference in New Issue