MyPy: improve ignite.contrib module
See original GitHub issue🚀 Feature
The ignite.contrib
module is the last one, which is ignored by the mypy
config 💪 For anyone, who wants to do it, I would recommend to split it in 3-4 PRs
ignite.contrib.engines
ignite.contrib.handlers
ignite.contrib.metrics
- (Optional separate PR)
ignite.contrib.metrics.regression
After that we could also enable more stricter mypy
configuration to further improve the typing of the project.
So, feel free to ask any questions here or in your PRs, I will try my best to give proper guidance and @vfdev-5 will do the same for sure, like he did with my previous PRs 👍
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
The mypy configuration file - mypy 0.991 documentation
(This will help us catch typos when making changes to our config file). Next, this module specifies three per-module options. The first two...
Read more >pytorch-ignite Changelog - pyup.io
Improved logging time taken message showing milliseconds (2650) Metrics and handlers ... Introduction of `ignite.distributed as idist` module (1045)
Read more >Our journey to type checking 4 million lines of Python - Dropbox
(Mypy is an open source project, and the core team is employed by ... we also contributed improved type definitions (a.k.a. stub files)...
Read more >Mypy 0.800 Released
We now provide compiled binary wheels for Python 3.9, improving type ... on the command line, and mypy can better infer their module...
Read more >python/typing - Gitter
(venv) PS D:\Documents\Matt\Projects\pixelmatch-py> mypy . pixelmatch\contrib\PIL.py:4: error: No library stub file for module 'PIL.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just finished my work on
ignite.contrib.metrics
. Next I would like to tryignite.contrib.handlers
😄@gruebel thanks !