Skip to content

Commit d049026

Browse files
committed
fix: broken python build files
1 parent cd33abe commit d049026

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

scripts/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import re
22
from pathlib import Path
33
import os
4-
import shutil
54

65
PLUGIN_REGEX = re.compile(r"<(.*)>manim-(?P<name>.*)<(.*)>")
76
PARSE_PARAMETERS = re.compile(

scripts/utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import base64
43
import tempfile
54
import json
65
import os
@@ -17,12 +16,10 @@
1716
from constants import (
1817
CONTENT_FOLDER,
1918
EXAMPLE_FOLDER,
20-
GITHUB_TOKEN,
2119
OUTPUT_DIR,
2220
PARSE_PARAMETERS,
2321
PLUGIN_REGEX,
2422
EXAMPLE_JSON,
25-
front_matter_md,
2623
)
2724

2825

@@ -182,7 +179,7 @@ def guarantee_one_visible(example_dict):
182179
# that atleast one example is visible.
183180
for example in example_dict:
184181
example["visible"] = example["visible"] == "True"
185-
if example["visible"] == True:
182+
if example["visible"]:
186183
break
187184
else:
188185
example_dict[0]["visible"] = True

0 commit comments

Comments
 (0)