🔧 mypy- disallow 'any generics' by danieleades · Pull Request #865 · executablebooks/MyST-Parser
- make mypy config stricter by disallowing 'any' generics
- fix some errors by adding generics
- 'whitelist' the modules with excessive errors
- includes some changes due to autoformatting
pyproject.toml
this whitelist should be shrunk and eventually removed over time. It should never get larger.
chrisjsewell
changed the title
mypy- disallow 'any generics'
🔧 mypy- disallow 'any generics'
Codecov Report
All modified and coverable lines are covered by tests ✅
Project coverage is 90.06%. Comparing base (
4e7128c) to head (7b75bb3).
Additional details and impacted files
@@ Coverage Diff @@ ## master #865 +/- ## ======================================= Coverage 90.06% 90.06% ======================================= Files 24 24 Lines 3373 3373 ======================================= Hits 3038 3038 Misses 335 335
| Flag | Coverage Δ | |
|---|---|---|
| pytests | 90.06% <100.00%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cheers!
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