Skip to content

Commit

Permalink
style: Fix linting issues uncovered in pylint upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed May 20, 2024
1 parent 67269eb commit 8a7e01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def run(self) -> None:
while True:
start = datetime.datetime.now()
log.info(f"----------- {start} --------")
lag = None

current_stats = {"clickhouse": self.get_clickhouse_stats()}
if collect_redis_bus:
Expand Down
1 change: 1 addition & 0 deletions platform_plugin_aspects/tests/test_xblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_render_translations(self, mock_get_language, mock_resource_exists):
mock_resource_exists.return_value = True
xblock = make_an_xblock("instructor")
student_view = xblock.student_view()
url_resource = None
for resource in student_view.resources:
if resource.kind == "url":
url_resource = resource
Expand Down

0 comments on commit 8a7e01d

Please sign in to comment.