Skip to content

Commit

Permalink
Merge branch 'master' into str_to_boolfix
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu authored Oct 18, 2024
2 parents b5a0f62 + e428283 commit 88ebc7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion querybook/server/app/auth/oauth_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def oauth_callback(self):
LOG.debug("Handling Oauth callback...")

if request.args.get("error"):
return f"<h1>Error: { Markup.escape(request.args.get('error')) }</h1>"
return f"<h1>Error: {Markup.escape(request.args.get('error'))}</h1>"

code = request.args.get("code")
try:
Expand Down
2 changes: 1 addition & 1 deletion querybook/server/app/auth/okta_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def oauth_callback(self):
LOG.debug("Handling Oauth callback...")

if request.args.get("error"):
return f"<h1>Error: { Markup.escape(request.args.get('error')) }</h1>"
return f"<h1>Error: {Markup.escape(request.args.get('error'))}</h1>"

code = request.args.get("code")
try:
Expand Down
2 changes: 1 addition & 1 deletion querybook/server/logic/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_all_visible_environments_by_uid(uid, session=None):
or_(
Environment.hidden != True, # noqa: E712
UserEnvironment.user_id == uid,
Environment.public == True,
Environment.public == True, # noqa: E712
)
)
.all()
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ignore=
E241,
E305,
E402,
E721,
E722,
E741,
N801,
Expand Down

0 comments on commit 88ebc7c

Please sign in to comment.