Commit cb38fff2 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Upgrading to latest mypy.

parent 93ab9ada
Pipeline #2768 passed with stage
in 3 minutes and 9 seconds
......@@ -29,7 +29,7 @@ pylint:
mypy:
@echo Performing type analysis via mypy...
@mypy --disallow-untyped-defs --check-untyped-defs --ignore-missing-imports ${PY_SRC} || exit 1
@mypy ${PY_SRC} || exit 1
coverage:
@echo Performing coverage checks...
......
......@@ -3,7 +3,7 @@ import sys
from typing import List, Union, Optional, Any, Tuple, Dict, NoReturn # NOQA pylint: disable=unused-import
from lxml import etree
from lxml import etree # type: ignore
from .asnAST import (
AsnBool, AsnInt, AsnReal, AsnEnumerated, AsnOctetString, AsnSequenceOf,
......
coverage>=3.7.1
flake8==3.7.9
mypy==0.530
mypy==0.790
pyflakes>=1.2.3
pylint>=1.7.0
pytest>=2.6.3
......@@ -8,4 +8,4 @@ lxml>=3.6.0
astroid>=1.4.6
pycodestyle>=2.0.0
typing-extensions
mypy-extensions>=0.3.0
mypy-extensions>=0.4.3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment