Skip to content

Commit 27d0b04

Browse files
committed
black
1 parent 8728387 commit 27d0b04

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/bonsai/bonsai/tool/unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def format_distance(meters: float, use_imperial: bool = None) -> str:
289289
return f"{feet}'"
290290
# If feet is 0, just show inches
291291
elif feet == 0:
292-
return f"{inches:.4g}\""
292+
return f'{inches:.4g}"'
293293
# Show both feet and inches
294294
else:
295295
return f"{feet}'{inches:.4g}\""

src/ifcopenshell-python/docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,12 @@ def setup(app):
104104

105105
# These are auto-generated based on the IFC schema, so exclude them
106106
# Temporarily ignore bsdd files until they are packaged properly in the wheel.
107-
autoapi_ignore = ["*ifcopenshell/express/rules*", "*bsdd/bsdd_json.py", "*bsdd/type_hints.py", "*bsdd/yml_to_classes.py"]
107+
autoapi_ignore = [
108+
"*ifcopenshell/express/rules*",
109+
"*bsdd/bsdd_json.py",
110+
"*bsdd/type_hints.py",
111+
"*bsdd/yml_to_classes.py",
112+
]
108113

109114
# Custom autoapi templates to make it easier to read our docs
110115
autoapi_template_dir = "_autoapi_templates"

0 commit comments

Comments
 (0)