Skip to content

Commit 53e077c

Browse files
author
Joel Collins
committed
Global mypy ignore_missing_imports = True
1 parent cf33d1e commit 53e077c

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[mypy]
2+
ignore_missing_imports = True

src/labthings/apispec/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import re
22

3-
from apispec import BasePlugin # type: ignore
3+
from apispec import BasePlugin
44

5-
from apispec.ext.marshmallow import ( # type: ignore
5+
from apispec.ext.marshmallow import (
66
MarshmallowPlugin as _MarshmallowPlugin,
77
)
88
from apispec.ext.marshmallow import OpenAPIConverter

src/labthings/labthing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import weakref
44
from typing import Any, Dict, List, Optional, Set, Tuple, Type
55

6-
from apispec import APISpec # type: ignore
7-
from apispec_webframeworks.flask import FlaskPlugin # type: ignore
6+
from apispec import APISpec
7+
from apispec_webframeworks.flask import FlaskPlugin
88
from flask import url_for
99

1010
from .actions.pool import Pool

src/labthings/marshalling/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from flask import abort, request
66
from marshmallow.exceptions import ValidationError
7-
from webargs import flaskparser # type: ignore
7+
from webargs import flaskparser
88

99
from ..fields import Field
1010
from ..schema import FieldSchema, Schema

src/labthings/quick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from flask import Flask
2-
from flask_cors import CORS # type: ignore
2+
from flask_cors import CORS
33

44
from .labthing import LabThing
55

0 commit comments

Comments
 (0)