Python: add type hinting to python code.

Types are checked using mypy.

Fixes #10394.
This commit is contained in:
Kristian Bendiksen committed 2023-08-23 09:47:44 +02:00
1 parent b1157436fe
commit 7aabe8c4a8
31 files changed
+522 -292

No files matched your search

@@ -34,6 +34,7 @@
#include "RimEclipseInputPropertyCollection.h"
#include "RimReservoirCellResultsStorage.h"
#include "cafPdmObjectScriptingCapability.h"
#include "cafProgressInfo.h"
#include <QDir>
@@ -46,7 +47,7 @@ CAF_PDM_SOURCE_INIT( RimRoffCase, "RimRoffCase" );
RimRoffCase::RimRoffCase()
: RimEclipseCase()
{
CAF_PDM_InitObject( "RimRoffCase", ":/EclipseInput48x48.png" );
CAF_PDM_InitScriptableObject( "RimRoffCase", ":/EclipseInput48x48.png" );
}
//--------------------------------------------------------------------------------------------------