Skip to content

Commit

Permalink
Global mypy ignore_missing_imports = True
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Nov 25, 2020
1 parent cf33d1e commit 53e077c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mypy]
ignore_missing_imports = True
4 changes: 2 additions & 2 deletions src/labthings/apispec/plugins.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import re

from apispec import BasePlugin # type: ignore
from apispec import BasePlugin

from apispec.ext.marshmallow import ( # type: ignore
from apispec.ext.marshmallow import (
MarshmallowPlugin as _MarshmallowPlugin,
)
from apispec.ext.marshmallow import OpenAPIConverter
Expand Down
4 changes: 2 additions & 2 deletions src/labthings/labthing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import weakref
from typing import Any, Dict, List, Optional, Set, Tuple, Type

from apispec import APISpec # type: ignore
from apispec_webframeworks.flask import FlaskPlugin # type: ignore
from apispec import APISpec
from apispec_webframeworks.flask import FlaskPlugin
from flask import url_for

from .actions.pool import Pool
Expand Down
2 changes: 1 addition & 1 deletion src/labthings/marshalling/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from flask import abort, request
from marshmallow.exceptions import ValidationError
from webargs import flaskparser # type: ignore
from webargs import flaskparser

from ..fields import Field
from ..schema import FieldSchema, Schema
Expand Down
2 changes: 1 addition & 1 deletion src/labthings/quick.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from flask import Flask
from flask_cors import CORS # type: ignore
from flask_cors import CORS

from .labthing import LabThing

Expand Down

0 comments on commit 53e077c

Please sign in to comment.