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
commit 8537abfff8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
141 changed files with 212 additions and 202 deletions

View file

@ -7,7 +7,7 @@ from typing import Optional
from flask import current_app, request
from flask_login import user_logged_in # type: ignore
from flask_restful import Resource # type: ignore
from flask_restful import Resource
from pydantic import BaseModel
from sqlalchemy import select, update
from sqlalchemy.orm import Session