Update dependency basedpyright to >=1.28.3 #216
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
*
->>=1.28.3
Release Notes
DetachHead/basedpyright (basedpyright)
v1.28.3
: (pyright 1.1.397)What's Changed
Full Changelog: DetachHead/basedpyright@v1.28.2...v1.28.3
v1.28.2
: (pyright 1.1.397)What's Changed
reportAny
/reportUnknown*
false positives on function calls where the type of the default value isAny
or Unknown and the argument isn't used in the call by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1120basedpyright-langserver
executable contains a space by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1126Full Changelog: DetachHead/basedpyright@v1.28.1...v1.28.2
v1.28.1
: (pyright 1.1.396)What's Changed
failOnWarnings
in the footnote for--warnings
by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1116Full Changelog: DetachHead/basedpyright@v1.28.0...v1.28.1
v1.28.0
: (pyright 1.1.395)What's Changed
serverInfo
ininitializeResult
by @disrupted in https://github.com/DetachHead/basedpyright/pull/1077none
on relevant rules by @disrupted in https://github.com/DetachHead/basedpyright/pull/1084, https://github.com/DetachHead/basedpyright/pull/1089IPython.display.display
in notebooks by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1098@override
decorator on method completions if targeting python <3.12 unlessbasedpyright.analysis.useTypingExtensions
is enabled by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1099@override
completion text edit being added to__init_subclass__
and metaclass members by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1103, https://github.com/DetachHead/basedpyright/pull/1109…
to omit the default value don’t get matchedNew Contributors
Full Changelog: DetachHead/basedpyright@v1.27.1...v1.28.0
v1.27.1
: (pyright 1.1.394)What's Changed
jupyter notebook fixes
diagnosticMode
is"workspace"
and workspace contains jupyter notebooks that haven't yet been opened by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1065other changes
reportUninitializedInstanceVariable
by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1060Full Changelog: DetachHead/basedpyright@v1.27.0...v1.27.1
v1.27.0
: (pyright 1.1.393)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:
implemented in https://github.com/DetachHead/basedpyright/pull/1035 & https://github.com/DetachHead/basedpyright/pull/1046
other changes
Full Changelog: DetachHead/basedpyright@v1.26.0...v1.27.0
v1.25.0
: (pyright 1.1.392)What's Changed
double click to insert inlay hints
basedpyright now supports double clicking inlay hints to insert them into your code. unlike pylance, this also works on
Callable
types:implemented in https://github.com/DetachHead/basedpyright/pull/968 & https://github.com/DetachHead/basedpyright/pull/1020
improved default value for
pythonPath
configuring your python interpreter in pyright is needlessly confusing. if you aren't using vscode or you aren't running it from inside a virtual environment, you'll likely encounter errors as a result of pyright using the wrong interpreter. to fix this you'd have to use the
venv
andvenvPath
settings which are two separate settings for some reason.in this release, basedpyright now detects the most common location for a virtual environment: a folder named
.venv
in the project root, which it uses as the default value forpythonPath
. this means most users shouldn't have to manually configure basedpyright to use the correct python interpreter anymore. see the docs for more infoimplemented by @cpprust in https://github.com/DetachHead/basedpyright/pull/1006
other changes
capabilities.workspace.didChangeWatchedFiles.dynamicRegistration
by @DetachHead in https://github.com/DetachHead/basedpyright/pull/1011New Contributors
Full Changelog: DetachHead/basedpyright@v1.24.0...v1.25.0
v1.24.0
: (pyright 1.1.392)What's Changed
allowedUntypedLibraries
setting to support disabling diagnostics for untyped functions/classes imported from specific modules by @Wizzerinus in https://github.com/DetachHead/basedpyright/pull/970basedpyright.analysis.autoImportCompletions
is disabled by @DetachHead in https://github.com/DetachHead/basedpyright/pull/983New Contributors
Full Changelog: DetachHead/basedpyright@v1.23.2...v1.24.0
v1.23.2
: (pyright 1.1.391)What's Changed
AbstractContextManager
being ignored when determining whether the context manager can suppress exceptions by @DetachHead in https://github.com/DetachHead/basedpyright/pull/963File or directory "/<default workspace root>" does not exist
error being reported as a language server notification by @DetachHead in https://github.com/DetachHead/basedpyright/pull/966reportUninitializedInstanceVariable
by @beauxq in https://github.com/DetachHead/basedpyright/pull/975Full Changelog: DetachHead/basedpyright@v1.23.1...v1.23.2
v1.23.1
: (pyright 1.1.391)What's Changed
reportUnusedParameter
false positive on abstract setters by @DetachHead in https://github.com/DetachHead/basedpyright/pull/956Full Changelog: DetachHead/basedpyright@v1.23.0...v1.23.1
v1.23.0
: (pyright 1.1.390)What's Changed
reportUnusedFunction
on unused protected methods when the class is decorated with@final
by @DetachHead in https://github.com/DetachHead/basedpyright/pull/937reportUnsafeMultipleInheritance
false positive in diamond inheritance scenarios, which is safe due to how MRO works by @DetachHead in https://github.com/DetachHead/basedpyright/pull/940Callable
types in inlay hints by @DetachHead in https://github.com/DetachHead/basedpyright/pull/943settings
table by @baggiponte in https://github.com/DetachHead/basedpyright/pull/950New Contributors
Full Changelog: DetachHead/basedpyright@v1.22.1...v1.23.0
v1.22.1
: (pyright 1.1.390)What's Changed
reportUnnecessaryIsInstance
errors when narrowingCallable
whilestrictGenericNarrowing
is enabled by @DetachHead in https://github.com/DetachHead/basedpyright/pull/909 & https://github.com/DetachHead/basedpyright/pull/916New Contributors
Full Changelog: DetachHead/basedpyright@v1.22.0...v1.22.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.