Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jan 24, 2017
1 parent 3f15d12 commit df7e2b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion relstorage/adapters/oracle/batch.py
Expand Up @@ -37,7 +37,7 @@ def __init__(self, cursor, inputsizes, row_limit=None):
self.array_ops = {} # {(operation, row_schema): {rowkey: [row]}}

def _do_inserts(self):

# pylint:disable=too-many-locals
def replace_var(match):
name = match.group(1)
new_name = '%s_%d' % (name, rownum) # pylint:disable=undefined-loop-variable
Expand Down
4 changes: 2 additions & 2 deletions relstorage/adapters/postgresql/mover.py
Expand Up @@ -122,7 +122,7 @@ def on_store_opened(self, cursor, restart=False):

AbstractObjectMover.on_store_opened(self, cursor, restart)

def _store_temp_95(self, cursor, batcher, oid, prev_tid, data):
def _store_temp_95(self, _cursor, batcher, oid, prev_tid, data):

suffix = """
ON CONFLICT (zoid) DO UPDATE SET state = excluded.state,
Expand All @@ -132,7 +132,7 @@ def _store_temp_95(self, cursor, batcher, oid, prev_tid, data):
self._generic_store_temp(batcher, oid, prev_tid, data, suffix=suffix)

@metricmethod_sampled
def store_temp(self, cursor, batcher, oid, prev_tid, data):
def store_temp(self, cursor, batcher, oid, prev_tid, data): # pylint:disable=method-hidden
self._generic_store_temp(batcher, oid, prev_tid, data)

@metricmethod_sampled
Expand Down

0 comments on commit df7e2b8

Please sign in to comment.