Skip to content

Commit

Permalink
Ignore false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed May 22, 2024
1 parent ac3f48e commit 6a695ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/baseframe/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def gen_assets_url(assets: list[str]) -> str:
else:
abort(400)

# pylint: disable=possibly-used-before-assignment
bundle.env = current_app.assets # type: ignore[attr-defined]
return bundle.urls()[0]

Expand Down

0 comments on commit 6a695ee

Please sign in to comment.