Skip to content

Commit 40929df

Browse files
committed
fix: Adjust the linting of the files
1 parent 88d3455 commit 40929df

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

grafana_api/alerting.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,7 @@ def test_backtest_rule(self, condition: str, data_queries: list) -> dict:
965965
else:
966966
return api_call
967967
else:
968-
logging.error(
969-
"There is no condition or data_queries defined."
970-
)
968+
logging.error("There is no condition or data_queries defined.")
971969
raise ValueError
972970

973971
def delete_ngalert_organization_configuration(self):

grafana_api/datasource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,4 +1137,4 @@ def update_lbac_rules_for_datasource(self, uid: str) -> dict:
11371137
return api_call
11381138
else:
11391139
logging.error("There is no uid defined.")
1140-
raise ValueError
1140+
raise ValueError

grafana_api/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def search_users_with_paging(
7171
results_per_page: int = 1000,
7272
page: int = 1,
7373
query: str = None,
74-
sort: str = None
74+
sort: str = None,
7575
) -> dict:
7676
"""The method includes a functionality to get all Grafana system users specified by the optional results_per_page, page, query, sort and general paging functionality
7777

0 commit comments

Comments
 (0)