What's Changed
jupyter notebook support
just like pylance, basedpyright now works with jupyter notebooks:
but unlike pylance, you can also type check your notebooks with the CLI:
>basedpyright
c:\project\asdf.ipynb - cell 1
c:\project\asdf.ipynb:1:1:12 - error: Type "Literal['']" is not assignable to declared type "int"
"Literal['']" is not assignable to "int" (reportAssignmentType)
c:\project\asdf.ipynb - cell 2
c:\project\asdf.ipynb:2:1:12 - error: Type "int" is not assignable to declared type "str"
"int" is not assignable to "str" (reportAssignmentType)
2 errors, 0 warnings, 0 notes
other changes
- russian localization updates by @decorator-factory in #1031
Full Changelog: v1.26.0...v1.27.0