Skip to content

Commit

Permalink
lint: Fixing the linespace and line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
elviskahoro committed Sep 30, 2024
1 parent aa63c4e commit 453d64e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pcweb/whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# - Incorrect: WHITELISTED_PAGES = ["/docs/getting-started/introduction/"]

WHITELISTED_PAGES = []



def _check_whitelisted_path(path):
if len(WHITELISTED_PAGES) == 0:
return True
Expand All @@ -25,4 +26,5 @@ def _check_whitelisted_path(path):
for whitelisted_path in WHITELISTED_PAGES:
if path.startswith(whitelisted_path):
return True

return False

0 comments on commit 453d64e

Please sign in to comment.