Skip to content

Commit

Permalink
Update mypy.ini
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
imankulov committed Apr 10, 2020
1 parent e0e6472 commit 53a9f87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions {{cookiecutter.project_slug}}/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
python_version = 3.7
follow_imports = silent
scripts_are_modules = true
namespace_packages = true
no_implicit_optional = true

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

0 comments on commit 53a9f87

Please sign in to comment.