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.

Version 0.6.4 broke mypy linting for `@inject` decorator

See original GitHub issue

After new release I’m not able pass typing check on all my projects 😦

        "event_dispatcher": EventDispatcher,
        "consumer": Consumer,
class Client(IClient):
    def __init__(
        event_dispatcher: Optional[EventDispatcher] = None,
        consumer: Optional[Consumer] = None,
    ) -> None: ...

is not valid anymore 😦

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

akadleccommented, Jun 8, 2022
akadleccommented, Jun 9, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Mypy linting not working for mypy 0.990 - no issues found
Steps to reproduce: Introduce a deliberate type error Run mypy on the command line to confirm ... Mypy version: mypy 0.990 (compiled: yes)....
Read more >
MyPy Errors for Decorator w/ Arguments - Stack Overflow
The issue here is the return type of the outer layer of your decorator. You need to correct your type annotation to the...
Read more >
Release Notes - FastAPI
Upgrade mypy and tweak internal type annotations. ... This version of FastAPI drops support for Python 3.6. ... Fix black linting after upgrade....
Read more >
Django-3.1 A high-level Python Web framework that encourages rapid development and clean, pragmatic design. Flask-1.1.2 A simple framework for building complex ...
Read more >
Пакети в „sid“, Под-раздел python - Debian -- Packages
... python-pivy (0.6.4-1 [sparc64], 0.5.0~v609hg-4 [alpha, hppa, ia64, m68k, sh4, ... for linting CMake files in ROS 2 ament packages; python3-ament-mypy ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found