chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224)
This commit is contained in:
parent
4b77c9df9d
commit
8537abfff8
141 changed files with 212 additions and 202 deletions
10
api/mypy.ini
10
api/mypy.ini
|
|
@ -7,3 +7,13 @@ exclude = (?x)(
|
|||
| tests/
|
||||
| migrations/
|
||||
)
|
||||
|
||||
[mypy-flask_login]
|
||||
ignore_missing_imports=True
|
||||
|
||||
[mypy-flask_restful]
|
||||
ignore_missing_imports=True
|
||||
|
||||
[mypy-flask_restful.inputs]
|
||||
ignore_missing_imports=True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue