chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224)

This commit is contained in:
Bowen Liang
2025-05-06 11:58:49 +08:00
committed by GitHub
parent 4b77c9df9d
commit 8537abfff8
141 changed files with 212 additions and 202 deletions

View File

@@ -3,7 +3,7 @@ import logging
from typing import cast
from flask import abort, request
from flask_restful import Resource, inputs, marshal_with, reqparse # type: ignore
from flask_restful import Resource, inputs, marshal_with, reqparse
from sqlalchemy.orm import Session
from werkzeug.exceptions import Forbidden, InternalServerError, NotFound