Skip to content

Commit

Permalink
Merge pull request #250 from macbre/dependabot/pip/pylint-2.9.3
Browse files Browse the repository at this point in the history
Bump pylint from 2.8.3 to 2.9.3
  • Loading branch information
macbre committed Jul 7, 2021
2 parents e745cfe + 436e633 commit 4d1520e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions indexdigest/linters/linter_0002_not_used_indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def check_not_used_indices(database, queries):

# analyze all tables used by the above queries
# print(used_indices)
for table_name in used_indices.keys():
for table_name, table_indices in used_indices.items():
for index in database.get_table_indices(table_name):

if index.name not in used_indices[table_name]:
if index.name not in table_indices:
yield LinterEntry(linter_type='not_used_indices', table_name=table_name,
message='"{}" index was not used by provided queries'.
format(index.name),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
'dev': [
'coverage==5.5',
'coveralls==3.1.0',
'pylint==2.8.3',
'pylint==2.9.3',
'pytest==6.2.4',
'pytest-cov==2.12.1',
'twine==3.4.1',
Expand Down

0 comments on commit 4d1520e

Please sign in to comment.