Skip to content

Commit 53a9f87

Browse files
committed
Update mypy.ini
Disable implicit optional checks in mypy.ini - [PR to PEP that changed the behavior](python/peps#689) - [mypy option](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-optional)
1 parent e0e6472 commit 53a9f87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

{{cookiecutter.project_slug}}/mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
python_version = 3.7
33
follow_imports = silent
44
scripts_are_modules = true
5+
namespace_packages = true
6+
no_implicit_optional = true
57

68
# We had to ignore missing imports, because of third-party libraries installed
79
# inside the virtualenv, and apparently there's no easy way for mypy to respect

0 commit comments

Comments
 (0)