-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Update flake8 and mypy stuff #781
Conversation
"inner": flag, | ||
} | ||
option_spec = _DoxygenContentBlockDirective.option_spec.copy() | ||
option_spec.update({"inner": flag}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of interest, why do you prefer this formulation? Does it have an objective benefit or just preferred style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is just a style choice, to be consistent with the equivalent cases I have seen in Sphinx to more quickly spot what is going on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a great improvement. Much respect for grinding through it.
@jakobandersen - please merge when you're happy with it :) |
- Remove noqa comments - Switch comment-based type annotation to variable type hints - Make mypy warn about redundant things - General mypy fixes
fa27f60
to
ba775ec
Compare
Thanks, merged. |
#noqa
commentsThere is still one error left: