mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Fix upstream ci-lint failures on this branch
- autosave.py: black formatting (blank line) and ruff's collections.abc.Callable import fix. - project/__init__.py, tool/__init__.py: ruff import-sort fixes. The autosave import in tool/__init__.py is deliberately kept last (must come after tool.drawing, per its existing comment) via `# isort: skip` rather than letting ruff move it, which would reintroduce that bug. Generated with the assistance of an AI coding tool. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
import bpy
|
||||
|
||||
import bonsai.tool as tool
|
||||
|
||||
from . import decorator, gizmo, operator, prop, ui, workspace
|
||||
|
||||
classes = (
|
||||
|
||||
@@ -82,4 +82,4 @@ from bonsai.tool.wall import Wall
|
||||
from bonsai.tool.web import Web
|
||||
|
||||
# Have to move after import of tool.drawing
|
||||
from bonsai.tool.autosave import Autosave
|
||||
from bonsai.tool.autosave import Autosave # isort: skip
|
||||
|
||||
@@ -23,8 +23,9 @@ from __future__ import annotations
|
||||
import atexit
|
||||
import logging
|
||||
import os
|
||||
from collections.abc import Callable
|
||||
from pathlib import Path
|
||||
from typing import Callable, Union
|
||||
from typing import Union
|
||||
|
||||
import bpy
|
||||
|
||||
@@ -32,7 +33,6 @@ import bonsai.tool as tool
|
||||
from bonsai.bim import export_ifc
|
||||
from bonsai.bim.module.model import preview_base
|
||||
|
||||
|
||||
AUTOSAVING_SUFFIX = "_autosaving.ifc"
|
||||
AUTOSAVED_SUFFIX = "_autosaved.ifc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user