FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Type checking improvements by bringhurst · Pull Request #103 · samuelcolvin/python-devtools · GitHub

Type checking improvements - #103

Closed
bringhurst wants to merge 1 commit into
samuelcolvin:masterfrom
bringhurst:mypy
Closed

Type checking improvements#103
bringhurst wants to merge 1 commit into
samuelcolvin:masterfrom
bringhurst:mypy

Conversation

bringhurst commented Apr 27, 2022
edited
Loading

Copy link
Copy Markdown

- Add a PEP 561 marker file (py.typed).
- Run mypy during CI.
- Update black to avoid pallets/click#2225
- Update mkdocs to avoid mkdocs/mkdocs#2799
- Disable mkdocs strict mode to avoid mkdocs/mkdocs#2252

bringhurst commented Apr 27, 2022
edited
Loading

Copy link
Copy Markdown
Author

Note the ignore lines in mypy.ini.

#
# Please do not add any additional mypy ignores in this section!
#

[mypy-devtools.utils]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true

[mypy-devtools.prettier]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true

[mypy-devtools.ansi]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true

[mypy-devtools.debug]
# FIXME: Remove this ignore after fixing type errors.
ignore_errors = true

This was done so mypy warnings/errors can be fixed in bite-sized PRs. Fixing all of those at once would be quite a large change.

If this PR is merged, a new issue should be opened to track fixing these.

Copy link
Copy Markdown
Author

Discarding due to inactivity.

Copy link
Copy Markdown
Owner

So sorry, I missed this complete.

Feel free to reopen this and I'll review it this week.

Copy link
Copy Markdown
Owner

Don't worry, I've fixed this in #107.

Copy link
Copy Markdown
Author

No hard feelings. 😄

I was just bulk closing old PRs.

TY for fixing it up!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL