diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-08 19:28:02 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-08 19:28:02 +0100 |
commit | 3934e4379e6445720fe991bd0263936a9542601b (patch) | |
tree | 7e1c609880e807a84796b4a2a85618cb9936a674 /.mypy.ini | |
parent | 2fae8e0d39f436976d90cfb94ac31a1a4427771d (diff) | |
download | fietsboek-3934e4379e6445720fe991bd0263936a9542601b.tar.gz fietsboek-3934e4379e6445720fe991bd0263936a9542601b.tar.bz2 fietsboek-3934e4379e6445720fe991bd0263936a9542601b.zip |
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.
Diffstat (limited to '.mypy.ini')
-rw-r--r-- | .mypy.ini | 14 |
1 files changed, 14 insertions, 0 deletions
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 |