Skip to content

Commit

Permalink
Black-formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Dec 30, 2021
1 parent 5860fc6 commit 468d403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
# Github specific setup is done here to make it easy to test the action code
# in isolation.


def interpret_env(env_var):
if isinstance(env_var, str):
return env_var.lower() not in ["false", "no", "off" "0"]
return bool(env_var)


if __name__ == "__main__":
print("[sphinx-action] Starting sphinx-action build.")

Expand Down

0 comments on commit 468d403

Please sign in to comment.