Skip to content

Commit 62d18f0

Browse files
committed
style: running pre-commit
1 parent 6afc569 commit 62d18f0

File tree

10 files changed

+9
-13
lines changed

10 files changed

+9
-13
lines changed

.github/workflows/release-please.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ jobs:
4040
-H "Accept: application/vnd.github.v3+json" \
4141
https://api.github.com/repos/Loop3d/${{ env.PACKAGE_NAME }}/actions/workflows/release.yml/dispatches \
4242
-d "{\"ref\":\"${{ steps.tag.outputs.tag }}\"}"
43-

.github/workflows/releaser.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ jobs:
5656
--create-plugin-repo
5757
--osgeo-username "$OSGEO_USERNAME"
5858
--osgeo-password "$OSGEO_PASSWORD"
59-

docs/development/design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The plugin is designed to be extensible, allowing developers to add new features
3636
- Adding new tabs or widgets to the GUI.
3737
- Extending the data_manager to support additional geological data types.
3838
- Implementing new processing algorithms in the Processing module.
39-
39+
4040
6. Resource Management
4141
Static resources such as images and translations are stored in the resources module. This ensures that all assets are centralized and easily accessible.
4242

@@ -59,4 +59,4 @@ The plugin includes a tests directory with unit tests for various components. Th
5959
## Future Enhancements
6060
- Support for additional geological data types.
6161
- Improved visualization capabilities using advanced rendering libraries.
62-
- Enhanced interactivity with more intuitive UI components.
62+
- Enhanced interactivity with more intuitive UI components.

loopstructural/gui/loop_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ def __init__(self, parent=None, *, mapCanvas=None, logger=None, data_manager=Non
2323
)
2424
tabWidget.addTab(self.modelling_widget, "Modelling")
2525
tabWidget.addTab(self.visualisation_widget, "Visualisation")
26-
26+

loopstructural/gui/modelling/model_definition/model_definition_tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ModelDefinitionTab(BaseTab):
1212
def __init__(self, parent=None, data_manager=None):
13-
super().__init__(parent, data_manager, scrollable=True)
13+
super().__init__(parent, data_manager, scrollable=True)
1414
# Add widgets to the QToolBox
1515
self.bounding_box = BoundingBoxWidget(self, data_manager)
1616
self.dem = DEMWidget(self, data_manager)

loopstructural/gui/modelling/stratigraphic_column/stratigraphic_column.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self, parent=None, data_manager=None):
5555
# Update display from data manager
5656
self.update_display()
5757
self.data_manager.set_stratigraphic_column_callback(self.update_display)
58-
58+
5959
def clearColumn(self):
6060
"""Clear the stratigraphic column."""
6161
self.unitList.clear()
@@ -71,7 +71,7 @@ def update_display(self):
7171
if unit.element_type == StratigraphicColumnElementType.UNIT:
7272
self.add_unit(unit_data=unit.to_dict(), create_new=False)
7373
elif unit.element_type == StratigraphicColumnElementType.UNCONFORMITY:
74-
74+
7575
self.add_unconformity(unconformity_data=unit.to_dict(),create_new=False)
7676

7777
def init_stratigraphic_column_from_basal_contacts(self):
@@ -100,7 +100,7 @@ def add_unit(self, *, unit_data=None, create_new=True):
100100
unit_widget = StratigraphicUnitWidget(**unit_data)
101101
unit_widget.deleteRequested.connect(self.delete_unit) # Connect delete signal
102102
unit_widget.nameChanged.connect(lambda: self.update_element(unit_widget)) # Connect name change signal
103-
103+
104104
unit_widget.thicknessChanged.connect(lambda: self.update_element(unit_widget)) # Connect thickness change signal
105105

106106
unit_widget.set_thickness(unit_data.get('thickness', 0.0)) # Set initial thickness

loopstructural/metadata.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ changelog=
2626

2727
# python deps
2828
plugin_dependencies=qpip
29-

loopstructural/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ pyvista
33
LoopStructural==1.6.17
44
geoh5py
55
meshio
6-
Lines changed: 1 addition & 1 deletion
Loading

loopstructural/toolbelt/log_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,4 @@ def _map_log_level(py_level):
194194
elif py_level >= logging.INFO:
195195
return 0
196196
else:
197-
return 4 # "none" / debug / custom
197+
return 4 # "none" / debug / custom

0 commit comments

Comments
 (0)