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:
Magne Sjaastad
2025-11-19 10:25:32 +01:00
committed by GitHub
parent 073e80d0a0
commit 544e9eedd9
96 changed files with 455 additions and 147 deletions
@@ -55,7 +55,7 @@ RimFaciesProperties::RimFaciesProperties()
CAF_PDM_InitScriptableFieldNoDefault( &m_faciesDefinition, "FaciesDefinition", "" );
m_faciesDefinition.uiCapability()->setUiTreeChildrenHidden( true );
m_faciesDefinition = new RimEclipseResultDefinition;
m_faciesDefinition->findField( "MResultType" )->uiCapability()->setUiName( "Facies Definiton" );
m_faciesDefinition->findField( "MResultType" )->uiCapability()->setUiName( "Facies Definition" );
CAF_PDM_InitScriptableFieldNoDefault( &m_colorLegend, "ColorLegend", "Colors" );
m_colorLegend = RimRegularLegendConfig::mapToColorLegend( RimRegularLegendConfig::ColorRangesType::NORMAL );
@@ -52,7 +52,7 @@ RimNonNetLayers::RimNonNetLayers()
CAF_PDM_InitScriptableFieldNoDefault( &m_resultDefinition, "FaciesDefinition", "" );
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
m_resultDefinition = new RimEclipseResultDefinition;
m_resultDefinition->findField( "MResultType" )->uiCapability()->setUiName( "Facies Definiton" );
m_resultDefinition->findField( "MResultType" )->uiCapability()->setUiName( "Facies Definition" );
m_resultDefinition->setResultType( RiaDefines::ResultCatType::STATIC_NATIVE );
m_resultDefinition->setResultVariable( "NTG" );
@@ -479,7 +479,7 @@ double RimStimPlanModel::endMD() const
//--------------------------------------------------------------------------------------------------
void RimStimPlanModel::applyOffset( double offsetMD )
{
// Nothing to do here, this operation is inteded for well path completions
// Nothing to do here, this operation is intended for well path completions
}
//--------------------------------------------------------------------------------------------------
@@ -159,7 +159,7 @@ void RimStimPlanModelCurve::performDataExtraction( bool* isUsingPseudoLength )
filterInvalidValuesForLogarithmicScale( values );
}
// TOOD: Consider rewrite, as RigWellLogCurveData can do logarithmic filtering
// TODO: Consider rewrite, as RigWellLogCurveData can do logarithmic filtering
bool useLogarithmicScale = false;
setPropertyValuesWithMdAndTVD( values, measuredDepthValues, tvDepthValues, rkbDiff, depthUnit, !performDataSmoothing, useLogarithmicScale, xUnits );