for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from plugin.core.database.wrapper.base import APSWBaseWrapper
base
plugin.core.database.wrapper
This can be caused by one of the following:
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
# .scrutinizer.yml before_commands: - sudo pip install abc # Python2 - sudo pip3 install abc # Python3
This error could also result from missing __init__.py files in your module folders. Make sure that you place one file in each sub-folder.
__init__.py
from playhouse import apsw_ext
import logging
import sys
log = logging.getLogger(__name__)
class APSWDatabaseWrapper(apsw_ext.APSWDatabase, APSWBaseWrapper):
sequence_exists
Database
Methods which raise NotImplementedError should be overridden in concrete child classes.
NotImplementedError
def _execute_sql(self, *args, **kwargs):
try:
return super(APSWDatabaseWrapper, self)._execute_sql(*args, **kwargs)
except self.critical_errors:
APSWDatabaseWrapper
critical_errors
This check looks for calls to members that are non-existent. These calls will fail.
The member could have been renamed or removed.
self.on_exception(sys.exc_info())
on_exception