mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
black
This commit is contained in:
committed by
Massimo Fabbro
parent
87283874a1
commit
27d0b04db5
@@ -289,7 +289,7 @@ class Unit(bonsai.core.tool.Unit):
|
||||
return f"{feet}'"
|
||||
# If feet is 0, just show inches
|
||||
elif feet == 0:
|
||||
return f"{inches:.4g}\""
|
||||
return f'{inches:.4g}"'
|
||||
# Show both feet and inches
|
||||
else:
|
||||
return f"{feet}'{inches:.4g}\""
|
||||
|
||||
@@ -104,7 +104,12 @@ autoapi_dirs = [
|
||||
|
||||
# These are auto-generated based on the IFC schema, so exclude them
|
||||
# Temporarily ignore bsdd files until they are packaged properly in the wheel.
|
||||
autoapi_ignore = ["*ifcopenshell/express/rules*", "*bsdd/bsdd_json.py", "*bsdd/type_hints.py", "*bsdd/yml_to_classes.py"]
|
||||
autoapi_ignore = [
|
||||
"*ifcopenshell/express/rules*",
|
||||
"*bsdd/bsdd_json.py",
|
||||
"*bsdd/type_hints.py",
|
||||
"*bsdd/yml_to_classes.py",
|
||||
]
|
||||
|
||||
# Custom autoapi templates to make it easier to read our docs
|
||||
autoapi_template_dir = "_autoapi_templates"
|
||||
|
||||
Reference in New Issue
Block a user