Commit 4f8d1a73 authored by Gabriel Couture's avatar Gabriel Couture

Adding mypy.ini to file to ignoring weird import error

parent a6d4e3f0
Pipeline #367 passed with stage
in 2 minutes and 8 seconds
......@@ -2,6 +2,7 @@
!.gitignore
!setup.py
!mypy.ini
!requirements.txt
!gitlab-ci.yml
!LICENSE.txt
......
[mypy]
[mypy-urllib3]
ignore_missing_imports = True
\ No newline at end of file
......@@ -3,7 +3,6 @@ import json
import urllib3
from typing import List, Dict, Union, Any, Optional, Tuple
from pyorthanc.exceptions import HTTPError
......
......@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
FLAKE8_COMMAND = ['./venv/bin/flake8', '--ignore=E501', 'pyorthanc', 'tests']
MYPY_COMMAND = ['./venv/bin/mypy', 'pyorthanc']
MYPY_COMMAND = ['./venv/bin/mypy', '--config-file=./mypy.ini', 'pyorthanc']
TESTS_COMMAND = ['./venv/bin/python', '-m', 'unittest', 'discover', '-s', 'tests']
......
Markdown is supported
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