microsoft / pyright

Static Type Checker for Python
Other
13.32k stars 1.45k forks source link

Added some code improvements from a working branch: #8822

Closed erictraut closed 2 months ago

erictraut commented 2 months ago
github-actions[bot] commented 2 months ago

Diff from mypy_primer, showing the effect of this PR on open source code:

PyWinCtl (https://github.com/Kalmat/PyWinCtl)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py
+   /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py:1406:74 - error: Unexpected token at end of expression
+   /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py:1407:73 - error: Unexpected token at end of expression
- 8 errors, 8 warnings, 0 informations 
+ 10 errors, 8 warnings, 0 informations 
github-actions[bot] commented 2 months ago

Diff from mypy_primer, showing the effect of this PR on open source code:

PyWinCtl (https://github.com/Kalmat/PyWinCtl)
+ /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py
+   /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py:1406:74 - error: Unexpected token at end of expression
+   /tmp/mypy_primer/projects/PyWinCtl/src/pywinctl/_pywinctl_macos.py:1407:73 - error: Unexpected token at end of expression
- 8 errors, 8 warnings, 0 informations 
+ 10 errors, 8 warnings, 0 informations