@@ -44,7 +44,7 @@ class ProjectConfiguration(CPPythonModel, extra='forbid'):
4444 bool , Field (description = 'Debug mode. Additional processing will happen to expose more debug information' )
4545 ] = False
4646
47- @field_validator ('verbosity' )
47+ @field_validator ('verbosity' ) # type: ignore
4848 @classmethod
4949 def min_max (cls , value : int ) -> int :
5050 """Validator that clamps the input value
@@ -118,7 +118,7 @@ class CPPythonData(CPPythonModel, extra='forbid'):
118118 scm_name : TypeName
119119 dependencies : list [Requirement ]
120120
121- @field_validator ('configuration_path' , 'install_path' , 'tool_path' , 'build_path' )
121+ @field_validator ('configuration_path' , 'install_path' , 'tool_path' , 'build_path' ) # type: ignore
122122 @classmethod
123123 def validate_absolute_path (cls , value : Path ) -> Path :
124124 """Enforce the input is an absolute path
@@ -234,14 +234,14 @@ def __init__(
234234
235235 @staticmethod
236236 @abstractmethod
237- def features (directory : DirectoryPath ) -> SupportedDataFeatures :
237+ def features (directory : DirectoryPath ) -> SupportedFeatures :
238238 """Broadcasts the shared features of the data plugin to CPPython
239239
240240 Args:
241241 directory: The root directory where features are evaluated
242242
243243 Returns:
244- The supported features
244+ The supported features - `SupportedDataFeatures`. Cast to this type to help us avoid generic typing
245245 """
246246 raise NotImplementedError
247247
0 commit comments