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 authored and GitHub committed 2025-11-19 10:25:32 +01:00
1 parent 073e80d0a0
commit 544e9eedd9
96 files changed
+455 -147

No files matched your search

@@ -670,7 +670,7 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
RimMainPlotCollection* mainPlotColl = RimMainPlotCollection::current();
mainPlotColl->ensureDefaultFlowPlotsAreCreated();
// RimVfpTable are not presisted in the project file, and are created in vfpDataCollection->loadDataAndUpdate(). Existing VFP
// RimVfpTable are not persisted in the project file, and are created in vfpDataCollection->loadDataAndUpdate(). Existing VFP
// plots will have references to RimVfpTables. Call resolveReferencesRecursively() to update the references to RimVfpTable objects.
mainPlotColl->vfpPlotCollection()->resolveReferencesRecursively();
}
@@ -1708,7 +1708,7 @@ void RiaGuiApplication::runMultiCaseSnapshots( const QString& templateProj
bool RiaGuiApplication::notify( QObject* receiver, QEvent* event )
{
// Pre-allocating a memory exhaustion message
// Doing som e trickery to avoid deadlock, as creating a messagebox actually triggers a call to this notify method.
// Doing some trickery to avoid deadlock, as creating a messagebox actually triggers a call to this notify method.
static QMessageBox* memoryExhaustedBox = nullptr;
static bool allocatingMessageBox = false;
@@ -114,7 +114,7 @@ RiaPreferencesSummary::RiaPreferencesSummary()
"Cross Plot Addresses [Y-adr X-adr]",
"",
"Semicolon separated list used to create cross plot curves. Based on selection, the names will be changed to "
"corresponing well or group vector names",
"corresponding well or group vector names",
"" );
CAF_PDM_InitField( &m_selectDefaultTemplates, "selectDefaultTemplate", false, "", "", "Select Default Templates" );
@@ -152,7 +152,7 @@ void RiaImageCompareReporter::showInteractiveOnly()
}
//--------------------------------------------------------------------------------------------------
/// Retuns the names of the *.png files in a directory. The names are without path, but with extension
/// Returns the names of the *.png files in a directory. The names are without path, but with extension
//--------------------------------------------------------------------------------------------------
std::vector<std::string> RiaImageCompareReporter::getPngFilesInDirectory( const std::string& searchPath )
@@ -31,7 +31,7 @@ public:
const std::string& baseImageDir,
const std::string& newImagesDir,
const std::string& diffImagesDir );
void generateHTMLReport( const std::string& filenName, const std::string& pathToDiff2html );
void generateHTMLReport( const std::string& fileName, const std::string& pathToDiff2html );
void showInteractiveOnly();
@@ -660,8 +660,8 @@ void RiaRegressionTestRunner::selectObjectsInProject()
std::vector<caf::PdmObjectHandle*> childObjects = f->children();
for ( auto childObject : childObjects )
{
// Skip RimSummaryCaseMainCollection, as this container contains all the summary addresses, and can potentially contain extemely
// many objects
// Skip RimSummaryCaseMainCollection, as this container contains all the summary addresses, and can potentially contain
// extremely many objects
if ( dynamic_cast<RimSummaryCaseMainCollection*>( childObject ) != nullptr )
{
continue;