Skip to content
Snippets Groups Projects

increased specificity of mypy ignore statements

Merged Karel van Klink requested to merge feature/more-specific-type-ignore into develop
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -16,8 +16,8 @@ router = APIRouter()
class Version(BaseModel):
"""Simple model for returning a version number of both the API and the `goat-lso` module."""
api: VERSION_STRING # type: ignore
module: VERSION_STRING # type: ignore
api: VERSION_STRING # type: ignore[valid-type]
module: VERSION_STRING # type: ignore[valid-type]
@router.get("/version")
Loading