Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy Disallow implicit optional #2361

Merged
merged 6 commits into from Oct 27, 2020

Conversation

jenshnielsen
Copy link
Collaborator

See https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-optional for details

IMHO it is much cleaner to explicitly annotate Optional

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO it is much cleaner to explicitly annotate Optional

Tottally support that! i like the explicitness :)

@codecov
Copy link

codecov bot commented Oct 27, 2020

Codecov Report

Merging #2361 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2361   +/-   ##
=======================================
  Coverage   62.10%   62.11%           
=======================================
  Files         199      199           
  Lines       26057    26058    +1     
=======================================
+ Hits        16184    16185    +1     
  Misses       9873     9873           

@jenshnielsen jenshnielsen merged commit ff38962 into microsoft:master Oct 27, 2020
@jenshnielsen jenshnielsen deleted the mypy_no_implicit_optional branch October 27, 2020 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants