Skip to content

Commit 4604333

Browse files
linting and requirements fixes
add tabulate to requirements.txt
1 parent 15cdaa3 commit 4604333

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ pytest
22
pylint
33
openstacksdk
44
pre-commit
5+
tabulate

tests/query_blocks/test_query_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def parse_where_runner_fixture(
8080
"""
8181
mock_kwargs = {"arg1": "val1", "arg2": "val2"}
8282

83-
# pylint:disable=too-many-arguments
83+
# ignore too-many-arguments warnings
84+
# pylint: disable=R0913,R0917
8485
def _parse_where_runner(
8586
mock_get_filter_return,
8687
mock_get_filter_func_return,

tests/test_query_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
def run_build_query_deps_test_case_fixture():
1010
"""Fixture for running build_query_deps"""
1111

12-
# pylint:disable=too-many-arguments
12+
# ignore too-many-arguments warnings
13+
# pylint: disable=R0913,R0917
1314
@patch("openstackquery.query_factory.QueryBuilder")
1415
@patch("openstackquery.query_factory.QueryOutput")
1516
@patch("openstackquery.query_factory.QueryParser")

0 commit comments

Comments
 (0)