mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Improve spell checker using codespell
* Configures automated spell checking with codespell Adds GitHub workflows and configuration files for automated spell checking using `codespell`. This includes: - A workflow for checking pull requests and preventing new typos - A workflow for automatically fixing typos in the main codebase - Configuration files for `codespell` to ignore specific terms and file types - Documentation on how to use and configure the spell checking workflows. * Corrects minor spelling and grammar errors.
This commit is contained in:
1 parent
073e80d0a0
commit
544e9eedd9
96 files changed
+455
-147
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ home_dir = expanduser("~")
|
||||
for fracture in fractures:
|
||||
fracture_name = fracture.user_description
|
||||
|
||||
# Create the ouput directory
|
||||
# Create the output directory
|
||||
output_directory = (
|
||||
Path(home_dir) / "thermal_fracture_surfaces" / "{}".format(fracture_name)
|
||||
)
|
||||
|
||||
@@ -540,9 +540,9 @@ def create_lgr_for_completion(
|
||||
--------------- | -------------------------------------- | -----
|
||||
time_steps | Time step index | Integer
|
||||
well_path_names | List of well path names | List of Strings
|
||||
refinement_i | Refinment in x-direction | Integer
|
||||
refinement_j | Refinment in y-direction | Integer
|
||||
refinement_k | Refinment in z-direction | Integer
|
||||
refinement_i | Refinement in x-direction | Integer
|
||||
refinement_j | Refinement in y-direction | Integer
|
||||
refinement_k | Refinement in z-direction | Integer
|
||||
split_type | Defines how to split LGRS | String enum
|
||||
|
||||
**Enum split_type**::
|
||||
|
||||
@@ -79,7 +79,7 @@ def cells(
|
||||
|
||||
@add_method(SimulationWell)
|
||||
def accumulated_perforation_length(self: SimulationWell, timestep: int) -> float:
|
||||
"""Get accumulated perforation lenght for the given timestep.
|
||||
"""Get accumulated perforation length for the given timestep.
|
||||
If a well is closed the length will be 0.
|
||||
|
||||
Arguments:
|
||||
|
||||
@@ -76,7 +76,7 @@ def test_create_regular_surface(rips_instance, initialize_test):
|
||||
):
|
||||
s.set_property("property_too_big", [i for i in range(nx * ny * 2)])
|
||||
|
||||
# Sucessfully set the depth property
|
||||
# Successfully set the depth property
|
||||
s.set_property("depth", [i for i in range(nx * ny)])
|
||||
s.set_property_as_depth("depth")
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ def test_add_well_path_completions(rips_instance, initialize_test):
|
||||
|
||||
def test_add_well_path_fracture_template(rips_instance, initialize_test):
|
||||
# Add test for all properties
|
||||
# Some properties depend on availablility of other data and is not tested, these tests are commented out
|
||||
# Some properties depend on availability of other data and is not tested, these tests are commented out
|
||||
|
||||
fracture_template = rips_instance.project.descendants(rips.FractureTemplate)[0]
|
||||
fracture_template.azimuth_angle = 23.0
|
||||
|
||||
Reference in new issue
Block a user