diff --git a/.gitignore b/.gitignore index b0e734a..3c564c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,12 @@ *.pyc *.sw? *~ .coverage .eggs/ __pycache__ *.egg-info/ build/ dist/ version.txt .tox +.mypy_cache/ diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..46f8db8 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,15 @@ +[mypy] +namespace_packages = True +warn_unused_ignores = True + + +# 3rd party libraries without stubs (yet) + +[mypy-pkg_resources.*] +ignore_missing_imports = True + +[mypy-pytest.*] +ignore_missing_imports = True + +# [mypy-add_your_lib_here.*] +# ignore_missing_imports = True diff --git a/swh/dataset/py.typed b/swh/dataset/py.typed new file mode 100644 index 0000000..1242d43 --- /dev/null +++ b/swh/dataset/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561.