question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m hoping to gradually improve the ‘typing’ in this library to the point where it can be linted using Mypy.

There’s quite a lot to do first! This library uses a few loosely-typed data structures which lead to a lot of type errors. That will possibly involve some refactoring (or heavy use of if not None checks everywhere).

I’ll use this is as a parent task for various efforts to improve the typing-

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
frostmingcommented, Jun 23, 2021

Here is the good news: all type errors in the codebase are cleared #517

Thanks all

2reactions
frostmingcommented, Apr 30, 2021

I never disregard type hints, I myself also improved the types and reduced the error number by ~100. Everyone can contribute to improving this and I am glad to review it.

This isn’t really working.

Don’t urge on that, many errors were introduced by a patch that applied types from an automation tool(pyannotate). Keep on the good work and we will finally get the green flag to add mypy in pre-commit and CI!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn to Type | Type Better | Type Faster - Typing.com ...
World's most popular free typing program! Typing.com's K–12 typing curriculum features touch typing, digital citizenship, coding lessons, and games.
Read more >
Learn Touch Typing Free - TypingClub
Learn touch typing online using TypingClub's free typing courses. It includes 650 typing games, typing tests and videos.
Read more >
TypingTest.com - Complete a Typing Test in 60 Seconds!
TypingTest.com offers a free online Typing Test and exciting typing games and keyboarding practice. Check your wpm for free now!
Read more >
Typing Practice
Take a typing speed test, learn to type faster and with fewer errors with this free online typing tutor. The application is loading,...
Read more >
Free Typing Test - Check Your Typing Speed in 60 Seconds
The faster you type, the faster you communicate with others. With our free typing speed test, you can check your WPM and CPM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found