Skip to content

Commit

Permalink
fix python lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiesims committed Jan 23, 2025
1 parent 364f96e commit 805d345
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions webapp/docs/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from os import getenv

import talisker.requests

from canonicalwebteam.search import build_search_view
Expand All @@ -14,7 +12,11 @@ def init_docs(app):
def render_juju_ecosystem_docs_page():
return render_template("docs/juju-ecosystem-docs.html")

app.add_url_rule("/docs", "juju-ecosystem-docs", render_juju_ecosystem_docs_page)
app.add_url_rule(
"/docs",
"juju-ecosystem-docs",
render_juju_ecosystem_docs_page
)

app.add_url_rule(
"/docs/search",
Expand All @@ -26,4 +28,3 @@ def render_juju_ecosystem_docs_page():
template_path="docs/search.html",
),
)

0 comments on commit 805d345

Please sign in to comment.