From 4f4635e06b2ec0504bda0d6f2552bf72bb218aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Wed, 12 Dec 2018 20:55:00 +0000 Subject: Experimentally start adding type annotations, and mypy configs. This cannot currently be added to CI because the lack of `construct` stubs, which cause "unsupported left operands" for /-constructed structs. --- mypy.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mypy.ini (limited to 'mypy.ini') diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..0d124c8 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,14 @@ +[mypy] +python_version = 3.7 + +[mypy-serial] +ignore_missing_imports = True + +[mypy-construct] +ignore_missing_imports = True + +[mypy-hid] +ignore_missing_imports = True + +[mypy-pyscsi.*] +ignore_missing_imports = True -- cgit v1.2.3