Skip to content

Commit

Permalink
Remove unused noqa statement
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Apr 4, 2024
1 parent 9bffd22 commit b4d04d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion koku/masu/api/db_performance/db_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def get_activity(self, dbname, pid=[], state=[], limit=100, offset=None):
{limit_clause}
{offset_clause}
;
""" # noqa
"""

LOG.info(self._prep_log_message("requsting connection activity"))
return self._execute(sql, params).fetchall()
Expand Down
5 changes: 4 additions & 1 deletion koku/masu/test/api/test_db_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ def test_explain(self):

expected = [
{
"query_plan": "Result (cost=0.00..0.01 rows=1 width=4)\n Output: 1\nQuery Identifier: 1147616880456321454", # noqa: E501
"query_plan": (
"Result (cost=0.00..0.01 rows=1 width=4)\n "
"Output: 1\nQuery Identifier: 1147616880456321454"
),
"query_text": "select 1",
}
]
Expand Down

0 comments on commit b4d04d7

Please sign in to comment.