Skip to content

Commit 5a14bf3

Browse files
committed
Remove Outdated Type Ignores
1 parent a92ff62 commit 5a14bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cppython/core/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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') # type: ignore
47+
@field_validator('verbosity')
4848
@classmethod
4949
def min_max(cls, value: int) -> int:
5050
"""Validator that clamps the input value
@@ -121,7 +121,7 @@ class CPPythonData(CPPythonModel, extra='forbid'):
121121
provider_data: Annotated[dict[str, Any], Field(description='Resolved provider configuration data')]
122122
generator_data: Annotated[dict[str, Any], Field(description='Resolved generator configuration data')]
123123

124-
@field_validator('configuration_path', 'install_path', 'tool_path', 'build_path') # type: ignore
124+
@field_validator('configuration_path', 'install_path', 'tool_path', 'build_path')
125125
@classmethod
126126
def validate_absolute_path(cls, value: Path) -> Path:
127127
"""Enforce the input is an absolute path

0 commit comments

Comments
 (0)