Skip to content

v1.27.0 (pyright 1.1.393)

Compare
Choose a tag to compare
@DetachHead DetachHead released this 08 Feb 15:39
· 111 commits to main since this release

What's Changed

jupyter notebook support

just like pylance, basedpyright now works with jupyter notebooks:

jupyter

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

implemented in #1035 & #1046

other changes

Full Changelog: v1.26.0...v1.27.0