From 3fa218c7a6c2ea3dec61f5d7c2de7a8071a210fe Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 10 Sep 2023 22:44:55 +0200 Subject: [PATCH] Import: move several .py files that black fails to re-format to a new directory and exclude it --- .pre-commit-config.yaml | 4 +++- src/Mod/Import/App/CMakeLists.txt | 6 +++--- ...d_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py | 0 src/Mod/Import/App/{ => SCL_output}/automotive_design.py | 0 .../Import/App/{ => SCL_output}/config_control_design.py | 0 src/Mod/Import/App/{ => SCL_output}/ifc2x3.py | 0 src/Mod/Import/App/{ => SCL_output}/ifc4.py | 0 7 files changed, 6 insertions(+), 4 deletions(-) rename src/Mod/Import/App/{ => SCL_output}/ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py (100%) rename src/Mod/Import/App/{ => SCL_output}/automotive_design.py (100%) rename src/Mod/Import/App/{ => SCL_output}/config_control_design.py (100%) rename src/Mod/Import/App/{ => SCL_output}/ifc2x3.py (100%) rename src/Mod/Import/App/{ => SCL_output}/ifc4.py (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9221a7f934ed..7f514b21461e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,9 @@ files: | exclude: | (?x)^( .*vcproj.*| - .*vcxproj.* + .*vcxproj.*| + src/Mod/Import/App/SCL| + src/Mod/Import/App/SCL_output ) repos: - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/src/Mod/Import/App/CMakeLists.txt b/src/Mod/Import/App/CMakeLists.txt index a08f727db4d7..4ad568f2a6a5 100644 --- a/src/Mod/Import/App/CMakeLists.txt +++ b/src/Mod/Import/App/CMakeLists.txt @@ -65,9 +65,9 @@ SET(SCL_Resources SCL/Aufspannung.stp SCL/gasket1.p21 SCL/Product1.stp - automotive_design.py # AP214e3 - ifc2x3.py # IFC - ifc4.py # IFC 4 + SCL_output/automotive_design.py # AP214e3 + SCL_output/ifc2x3.py # IFC + SCL_output/ifc4.py # IFC 4 PlmXmlParser.py ) SOURCE_GROUP("SCL" FILES ${SCL_Resources}) diff --git a/src/Mod/Import/App/ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py b/src/Mod/Import/App/SCL_output/ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py similarity index 100% rename from src/Mod/Import/App/ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py rename to src/Mod/Import/App/SCL_output/ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py diff --git a/src/Mod/Import/App/automotive_design.py b/src/Mod/Import/App/SCL_output/automotive_design.py similarity index 100% rename from src/Mod/Import/App/automotive_design.py rename to src/Mod/Import/App/SCL_output/automotive_design.py diff --git a/src/Mod/Import/App/config_control_design.py b/src/Mod/Import/App/SCL_output/config_control_design.py similarity index 100% rename from src/Mod/Import/App/config_control_design.py rename to src/Mod/Import/App/SCL_output/config_control_design.py diff --git a/src/Mod/Import/App/ifc2x3.py b/src/Mod/Import/App/SCL_output/ifc2x3.py similarity index 100% rename from src/Mod/Import/App/ifc2x3.py rename to src/Mod/Import/App/SCL_output/ifc2x3.py diff --git a/src/Mod/Import/App/ifc4.py b/src/Mod/Import/App/SCL_output/ifc4.py similarity index 100% rename from src/Mod/Import/App/ifc4.py rename to src/Mod/Import/App/SCL_output/ifc4.py