Version 0.6.4 broke mypy linting for `@inject` decorator
See original GitHub issueAfter new release I’m not able pass typing check on all my projects 😦
@inject(
alias=IClient,
bind={
"event_dispatcher": EventDispatcher,
"consumer": Consumer,
},
)
class Client(IClient):
def __init__(
self,
event_dispatcher: Optional[EventDispatcher] = None,
consumer: Optional[Consumer] = None,
) -> None: ...
is not valid anymore 😦
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top 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 >fhPython-3.8.2-foss-2020a-Python-3.8.2
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 >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 FreeTop 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
Top GitHub Comments
And you could find it in my gh action: https://github.com/FastyBird/redisdb-exchange-plugin/runs/6801070481?check_suite_focus=true
@dkraczkowski thx