Skip to content

Commit

Permalink
remove strict_optional from sample mypy.ini in doc (#1830)
Browse files Browse the repository at this point in the history
Really not critical, but strict_optional=True is the default for mypy since 0.600, so its presence in the sample mypy.ini in the docs seems redundant.

https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-strict-optional
  • Loading branch information
brianmaissy committed Oct 9, 2020
1 parent be8ef63 commit dbb1ed0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/mypy_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ A `mypy.ini` file with all plugin strictness flags enabled (and some other mypy
plugins = pydantic.mypy

follow_imports = silent
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
Expand Down

0 comments on commit dbb1ed0

Please sign in to comment.