Commit 443d57d8 authored by Nicholas Bollweg's avatar Nicholas Bollweg
Browse files

hide linting from rtd

parent a56995b3
......@@ -46,6 +46,8 @@ def task_setup():
def task_lint():
"""format and ensure style of code, docs, etc."""
if C.RTD:
return
yield U.ok(
B.OK_PRETTIER,
......@@ -226,6 +228,7 @@ class C:
APPS = ["classic", "lab"]
ENC = dict(encoding="utf-8")
CI = bool(json.loads(os.environ.get("CI", "0")))
RTD = bool(json.loads(os.environ.get("READTHEDOCS", "0")))
DOCS_ENV_MARKER = "### DOCS ENV ###"
NO_TYPEDOC = ["_metapackage"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment