From 7b9615f4e51621ee12742df142db78787aca63d3 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 10 Aug 2026 15:49:04 +0500 Subject: [PATCH] ruff: fix `unsorted-dunder-all` --- src/ifcopenshell-python/ifcopenshell/__init__.py | 4 ++-- .../ifcopenshell/api/alignment/__init__.py | 4 ++-- .../ifcopenshell/api/geometry/__init__.py | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/__init__.py b/src/ifcopenshell-python/ifcopenshell/__init__.py index 0f622cb364..6e4731a35d 100644 --- a/src/ifcopenshell-python/ifcopenshell/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/__init__.py @@ -113,13 +113,13 @@ def optional_logger_args(logger: ifcopenshell_wrapper.logger | None) -> tuple[lo # explicitly specify available imported symbols # (it's a requirement for a typed library) __all__ = [ + "clear_plugin_search_paths", "entity_instance", "file", - "guid", "get_plugin_search_paths", + "guid", "ifcopenshell_wrapper", "rocksdb_lazy_instance", - "clear_plugin_search_paths", "set_plugin_search_paths", "sqlite", "sqlite_entity", diff --git a/src/ifcopenshell-python/ifcopenshell/api/alignment/__init__.py b/src/ifcopenshell-python/ifcopenshell/api/alignment/__init__.py index ce0b31da2b..c0b24d9113 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/alignment/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/api/alignment/__init__.py @@ -96,8 +96,8 @@ from .update_key_point_referents import update_key_point_referents from .util import * __all__ = [ - "add_stationing_referent", "add_positioning_referent", + "add_stationing_referent", "add_vertical_layout", "add_zero_length_segment", "create", @@ -125,6 +125,7 @@ __all__ = [ "get_layout", "get_layout_curve", "get_layout_segments", + "get_mapped_segments", "get_parent_alignment", "get_stationing_nest", "get_vertical_layout", @@ -137,5 +138,4 @@ __all__ = [ "update_end_point", "update_fallback_position", "update_key_point_referents", - "get_mapped_segments", ] diff --git a/src/ifcopenshell-python/ifcopenshell/api/geometry/__init__.py b/src/ifcopenshell-python/ifcopenshell/api/geometry/__init__.py index 262373d275..11935d3f8d 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/geometry/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/api/geometry/__init__.py @@ -76,30 +76,30 @@ from .validate_type import validate_type wrap_usecases(__path__, __name__) __all__ = [ + "TERMINAL_TYPE", + "RailingSupport", + "WallMountedHandrailGeometry", "add_axis_representation", - "add_topology_representation", "add_boolean", - "clip_solid", - "clip_solid_bounded", - "copy_representation", "add_door_representation", "add_footprint_representation", "add_mesh_representation", - "RailingSupport", - "TERMINAL_TYPE", - "WallMountedHandrailGeometry", "add_profile_representation", "add_railing_representation", - "compute_wall_mounted_handrail_geometry", "add_representation", "add_shape_aspect", "add_slab_representation", + "add_topology_representation", "add_wall_representation", "add_window_representation", "assign_representation", + "clip_solid", + "clip_solid_bounded", + "compute_wall_mounted_handrail_geometry", "connect_element", "connect_path", "connect_wall", + "copy_representation", "create_2pt_wall", "disconnect_element", "disconnect_path",