From 3934e4379e6445720fe991bd0263936a9542601b Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 8 Dec 2022 19:28:02 +0100 Subject: first try with mypy It would be nice to gradually improve the typing situation in Fietsboek. At least the parts that do not do heavy metaprogramming should have types. For most of the API, we already have types in the doc strings, so those could be removed then. --- .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..79f0c44 --- /dev/null +++ b/.mypy.ini @@ -0,0 +1,14 @@ +[mypy] +follow_imports = silent +check_untyped_defs = True +allow_redefinition = True +exclude = fietsboek/updater/scripts/.+\.py + +[mypy-pyramid.*] +ignore_missing_imports = True + +[mypy-sqlalchemy.*] +ignore_missing_imports = True + +[mypy-zope.*] +ignore_missing_imports = True -- cgit v1.2.3