Closed lunkwill42 closed 3 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β PYTHON | black | 2 | 0 | 0.63s | |
β PYTHON | isort | 2 | 0 | 0.23s | |
β PYTHON | ruff | 2 | 0 | 0.01s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
ββββ3 filesββββββ3 suitesβββ54s :stopwatch: ββ404 testsβββ404 :white_check_mark:β0 :zzz:β0 :x: 1β212 runsββ1β210 :white_check_mark:β2 :zzz:β0 :x:
Results for commit 77509c7f.
Scope and purpose
Fix slightly incorrect type annotations for event registry functionality.
This is the canonical way to annotate that the return value of a function is an instance of the type that was used as one of the function arguments.
Seems to be the only way to make type checkers understand the real type of the return argument.
This pull request
Events
class, making IDE type inferences more useful.Contributor Checklist