Update dependency basedpyright to v1.36.1 #32
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cswimr/PyFlowery!32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/basedpyright-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==1.29.1->==1.36.1Release Notes
detachhead/basedpyright (basedpyright)
v1.36.1: (pyright 1.1.407)Compare Source
What's Changed
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.36.0...v1.36.1
v1.36.0: (pyright 1.1.407)Compare Source
What's Changed
--baselinemodecli argument by @DetachHead in DetachHead#1667Any, unknown, and unions by @KurtBoehm in DetachHead#1670Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.35.0...v1.36.0
v1.35.0: (pyright 1.1.407)Compare Source
What's Changed
improved completions for
Literals and enumsin pyright/pylance, you only get completions for
Literals that contain strings:but in basedpyright, this now also works with
Literals that contain other types, such asint,boolandEnumvalues:unlike pyright/pylance, basedpyright now also supports completions for enum values:
this also works for other types of enums such as
IntEnumandStrEnumimplemented by @KurtBoehm in DetachHead#1644 & DetachHead#1658
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.34.0...v1.35.0
v1.34.0: (pyright 1.1.407)Compare Source
What's Changed
textDocument/implementationaka "Go to Implementations" by @beauxq in DetachHead#1636 & DetachHead#1649Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.33.0...v1.34.0
v1.33.0: (pyright 1.1.407)Compare Source
What's Changed
hover and "go to definition" on operators
pylance supports "go to definition" on some operators. basedpyright now supports this and takes it a step further by also showing hover information as well:
implemented by @KurtBoehm in DetachHead#1576
docs
other changes
basedpyright.configFilePathto the language server by @brunovollmer in DetachHead#1607New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.32.1...v1.33.0
v1.32.1: (pyright 1.1.407)Compare Source
What's Changed
dataclass_transformthat was introduced in pyright 1.1.407 by @DetachHead in DetachHead#1595Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.32.0...v1.32.1
v1.32.0: (pyright 1.1.407)Compare Source
What's Changed
enableBasedFeaturesuntil now, basedpyright-exclusive type checking features have mostly come in the form of an additional diagnostic rule that users have the option to disable. but this approach limits us from making any interesting breaking changes to the type system itself.
this release introduces a new setting called
enableBasedFeatures, which is disabled by default. enabling it will opt you into any changes we make that introduce breaking changes to the type system. in other words, if you're developing a library and expect your users to be using other type checkers, you should probably keep it disabled.currently only one feature is behind this flag: the new
skip_replaceargument to the@dataclass_transformdecorator, implemented by @decorator-factory in DetachHead#1568new diagnostic rule -
reportSelfClsDefaultPyright allows specifying a default value for
selfin instance methods andclsin class methods:this is almost certainly a mistake, so this new diagnostic rule will warn against it.
also implemented by @decorator-factory in DetachHead#1581
docs
other changes
basedpyrightinstead ofpythonwhen instantiating vscode'sLanguageClientso that the logging can be configured usingbasedpyright.trace.serverby @DetachHead in DetachHead#1583paramNameMissingby @NCBM in DetachHead#1588Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.7...v1.32.0
v1.31.7: (pyright 1.1.406)Compare Source
What's Changed
performance fixes
reportUnannotatedClassAttributeby @DetachHead in DetachHead#1544semantic highlighting
docs
other changes
array.arrayat runtime on python <3.12 by @DetachHead in DetachHead#1552string.templatelibmodule and generate stub docstrings for 3.14 by @DetachHead in DetachHead#1551New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.6...v1.31.7
v1.31.6: (pyright 1.1.406)Compare Source
What's Changed
reportMatchNotExhaustiveand missingreportImplicitOverridein the docs by @DetachHead in DetachHead#1522vfrom rev tag for prek in the docs by @sakosha in DetachHead#1520New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.5...v1.31.6
v1.31.5: (pyright 1.1.405)Compare Source
What's Changed
semantic highlighting
__builtins__.pyiby @Wizzerinus in DetachHead#1451baseline
--baselinefilecli argument and update the docs to reflect that the baseline file functionality is now stable by @DetachHead in DetachHead#1480docs
uv pip install->uv tool installby @HairlessVillager in DetachHead#1482other changes
\N{(named unicode characters) in strings being turned into f-strings by @DetachHead in DetachHead#1504reportInvalidTypeVarUsefor type var in return type by @KotlinIsland in DetachHead#1498basedpyright.analysis.inlayHints.genericTypesby default by @KotlinIsland in DetachHead#1513New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.4...v1.31.5
v1.31.4: (pyright 1.1.405)Compare Source
What's Changed
allowedUntypedLibrarieswork on overloads by @leonardo-panseri in DetachHead#1437autoFormatStringswhen client does not support dynamic registration foronTypeFormattingby @ribru17 in DetachHead#1452New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.3...v1.31.4
v1.31.3: (pyright 1.1.404)Compare Source
What's Changed
diagnosticSeverityOverridesby @DetachHead in DetachHead#1431Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.2...v1.31.3
v1.31.2: (pyright 1.1.403)Compare Source
What's Changed
prefligittoprekin docs by @j178 in DetachHead#1423New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.1...v1.31.2
v1.31.1: (pyright 1.1.403)Compare Source
What's Changed
# pyright: ignorecode actions inserting the comment before the last character if the error is on the last line in the file by @DetachHead in DetachHead#1398__init__and__new__methods by @DetachHead in DetachHead#1415Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.0...v1.31.1
v1.31.0: (pyright 1.1.403)Compare Source
What's Changed
automatic conversion to f-string when typing
{inside a stringimplement
basedpyright.analysis.autoFormatStringssetting from pylance:implemented in DetachHead#1390
other changes
writeBaseline,restartServerandcreateTypeStubcommands only being registered in the vscode extension instead of the language server by @DetachHead in DetachHead#1385reportImplicitAbstractClassto"error"whentypeCheckingModeis"recommended"by @tylerlaprade in DetachHead#1392Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.30.1...v1.31.0
v1.30.1: (pyright 1.1.403)Compare Source
What's Changed
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.30.0...v1.30.1
v1.30.0: (pyright 1.1.403)Compare Source
What's Changed
# pyright: ignorecomments by @DetachHead in DetachHead#1359New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.29.5...v1.30.0
v1.29.5: (pyright 1.1.402)Compare Source
What's Changed
basedpyright.analysis.inlayHints.callArgumentNamesMatchingsetting for function parameter inlay hints where the name matches by @sam-or in DetachHead#1340--threadsin the CLI by @Rayahhhmed in DetachHead#1355new-diagnostic-rules.mdby @tylerlaprade in DetachHead#1332"discouraged"inconfig-files.mdby @tylerlaprade in DetachHead#1337New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.29.4...v1.29.5
v1.29.4: (pyright 1.1.402)Compare Source
What's Changed
reportUnreachablecaused by upstream merge mistake by @DetachHead in DetachHead#1326reportUnreachable, but it doesn’t cover most cases so I reverted their one when I merged the 1.1.402 release. see here for more infoFull Changelog: https://github.com/DetachHead/basedpyright/compare/v1.29.3...v1.29.4
v1.29.3: (pyright 1.1.402)Compare Source
What's Changed
reportUnreachable, but it doesn’t cover most cases so I reverted their one when I merged the 1.1.402 release. see here for more infoFull Changelog: https://github.com/DetachHead/basedpyright/compare/v1.29.2...v1.29.3
v1.29.2: (pyright 1.1.401)Compare Source
What's Changed
reportIncompatibleUnannotatedOverridefalse positive & fix case where it changes the behavior ofreportIncompatibleMethodOverrideby @DetachHead in DetachHead#1286selfandclsparameters by @ValdezFOmar in DetachHead#1291@overridewhenreportExplicitOverrideis disabled by @sterliakov in DetachHead#1292selfParameterandclsParametersemantic token types as a subtype ofparameterby @DetachHead in DetachHead#1298New Contributors
Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.29.1...v1.29.2
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 has been generated by Renovate Bot.
Update dependency basedpyright to v1.31.3to Update dependency basedpyright to v1.31.4Update dependency basedpyright to v1.31.4to Update dependency basedpyright to v1.31.54ae15fbe04to4ec8fb201c4ec8fb201ce290f7c2ebUpdate dependency basedpyright to v1.31.5to Update dependency basedpyright to v1.31.6e290f7c2eb37999693f1Update dependency basedpyright to v1.31.6to Update dependency basedpyright to v1.31.737999693f1aaf1cffa94Update dependency basedpyright to v1.31.7to Update dependency basedpyright to v1.32.0aaf1cffa94238a832e56Update dependency basedpyright to v1.32.0to Update dependency basedpyright to v1.32.1238a832e561c534c7561Update dependency basedpyright to v1.32.1to Update dependency basedpyright to v1.34.01c534c7561077ee4a350Update dependency basedpyright to v1.34.0to Update dependency basedpyright to v1.35.0077ee4a350eec05970b7Update dependency basedpyright to v1.35.0to Update dependency basedpyright to v1.36.0eec05970b744e2013de844e2013de8ee70314cb7Update dependency basedpyright to v1.36.0to Update dependency basedpyright to v1.36.1View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.