mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Fix some code inspection complaints
This commit is contained in:
@@ -1181,7 +1181,7 @@ Failed to reset the connection to the server due to following error:
|
||||
pos = 0
|
||||
for col in self.column_info:
|
||||
col['pos'] = pos
|
||||
pos = pos + 1
|
||||
pos += 1
|
||||
|
||||
self.row_count = cur.rowcount
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ def parse_typed_field_list(tokens):
|
||||
# " ( [ [ argmode ] [ argname ] argtype
|
||||
# [ { DEFAULT | = } default_expr ] [, ...] ] )"
|
||||
|
||||
mode_names = set(('IN', 'OUT', 'INOUT', 'VARIADIC'))
|
||||
mode_names = {'IN', 'OUT', 'INOUT', 'VARIADIC'}
|
||||
parse_state = 'type'
|
||||
parens = 0
|
||||
field = TypedFieldMetadata()
|
||||
|
||||
Reference in New Issue
Block a user