Update dependency basedpyright to v1.36.1 #32

Open
Renovate wants to merge 1 commit from renovate/basedpyright-1.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
basedpyright ==1.29.1 -> ==1.36.1 age confidence

Release 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

Full 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 enums

in pyright/pylance, you only get completions for Literals that contain strings:

image

but in basedpyright, this now also works with Literals that contain other types, such as int, bool and Enum values:

image

unlike pyright/pylance, basedpyright now also supports completions for enum values:

image

this also works for other types of enums such as IntEnum and StrEnum

implemented 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

Full 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:

image

implemented by @​KurtBoehm in DetachHead#1576

docs
  • update zed docs to add back the recommendation to use the project's version of basedpyright again (i incorrectly assumed this was no longer necessary) by @​DetachHead in DetachHead#1602
  • Add neovim LSP server setting example using 0.11 format by @​hydecnc in DetachHead#1605
other changes

New 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

Full 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

enableBasedFeatures

until 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_replace argument to the @dataclass_transform decorator, implemented by @​decorator-factory in DetachHead#1568

new diagnostic rule - reportSelfClsDefault

Pyright allows specifying a default value for self in instance methods and cls in class methods:

class Foo:
    def foo(self=1):
        ...

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

Full 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
semantic highlighting
docs
other changes

New 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

New 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
baseline
docs
other changes

New 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

New 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

Full 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

New 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

Full 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 string

implement basedpyright.analysis.autoFormatStrings setting from pylance:

implemented in DetachHead#1390

other changes

Full 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

New 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

New 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

  • fix "unknown config option" false positive on reportUnreachable caused by upstream merge mistake by @​DetachHead in DetachHead#1326
    • pyright now has its own version of 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 info

Full 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

Full 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

New 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [basedpyright](https://github.com/detachhead/basedpyright) | `==1.29.1` -> `==1.36.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/basedpyright/1.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/basedpyright/1.29.1/1.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>detachhead/basedpyright (basedpyright)</summary> ### [`v1.36.1`](https://github.com/DetachHead/basedpyright/releases/tag/v1.36.1): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.36.0...v1.36.1) #### What's Changed - fix an issue introduced in 1.36.0 that broke the browser version of basedpyright used in the playground by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1675](https://github.com/DetachHead/basedpyright/pull/1675) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.36.0...v1.36.1> ### [`v1.36.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.36.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.35.0...v1.36.0) #### What's Changed - fail in CI if baseline file needs updating and add `--baselinemode` cli argument by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1667](https://github.com/DetachHead/basedpyright/pull/1667) - Improve semantic tokens for `Any`, unknown, and unions by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1670](https://github.com/DetachHead/basedpyright/pull/1670) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.35.0...v1.36.0> ### [`v1.35.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.35.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.34.0...v1.35.0) #### What's Changed ##### improved completions for `Literal`s and enums in pyright/pylance, you only get completions for `Literal`s that contain strings: <img width="380" height="78" alt="image" src="https://github.com/user-attachments/assets/f907f82c-f7b7-4956-8e5d-cdc91f5060c8" /> but in basedpyright, this now also works with `Literal`s that contain other types, such as `int`, `bool` and `Enum` values: <img width="485" height="125" alt="image" src="https://github.com/user-attachments/assets/a9319b3f-f606-4bbe-b391-21997e3b763c" /> unlike pyright/pylance, basedpyright now also supports completions for enum values: <img width="194" height="64" alt="image" src="https://github.com/user-attachments/assets/f74b17a7-52c0-4440-af81-583ba30b5b1a" /> this also works for other types of enums such as `IntEnum` and `StrEnum` implemented by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1644](https://github.com/DetachHead/basedpyright/pull/1644) & [DetachHead#1658](https://github.com/DetachHead/basedpyright/pull/1658) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.34.0...v1.35.0> ### [`v1.34.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.34.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.33.0...v1.34.0) #### What's Changed - implement `textDocument/implementation` aka "Go to Implementations" by [@&#8203;beauxq](https://github.com/beauxq) in [DetachHead#1636](https://github.com/DetachHead/basedpyright/pull/1636) & [DetachHead#1649](https://github.com/DetachHead/basedpyright/pull/1649) - Fix issues with semantic highlighting of decorators/properties by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1632](https://github.com/DetachHead/basedpyright/pull/1632) - document hover and "go to definition" on operators by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1631](https://github.com/DetachHead/basedpyright/pull/1631) - Chinese (Simplified) localization update (2025.11) by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1628](https://github.com/DetachHead/basedpyright/pull/1628) - remove workaround for language server crash when installing basedpyright with uv, which was fixed over a year ago by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1634](https://github.com/DetachHead/basedpyright/pull/1634) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.33.0...v1.34.0> ### [`v1.33.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.33.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.32.1...v1.33.0) #### 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: <img width="287" height="164" alt="image" src="https://github.com/user-attachments/assets/003200bf-78fa-4431-b90a-3bc6e3f14f2d" /> implemented by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1576](https://github.com/DetachHead/basedpyright/pull/1576) ##### docs - update zed docs to add back the recommendation to use the project's version of basedpyright again (i incorrectly assumed this was no longer necessary) by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1602](https://github.com/DetachHead/basedpyright/pull/1602) - Add neovim LSP server setting example using 0.11 format by [@&#8203;hydecnc](https://github.com/hydecnc) in [DetachHead#1605](https://github.com/DetachHead/basedpyright/pull/1605) ##### other changes - Add `basedpyright.configFilePath` to the language server by [@&#8203;brunovollmer](https://github.com/brunovollmer) in [DetachHead#1607](https://github.com/DetachHead/basedpyright/pull/1607) - Fix semantic token of variables with a generic type by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1610](https://github.com/DetachHead/basedpyright/pull/1610) - October 2025 Russian localization fixes by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1620](https://github.com/DetachHead/basedpyright/pull/1620) #### New Contributors - [@&#8203;hydecnc](https://github.com/hydecnc) made their first contribution in [DetachHead#1605](https://github.com/DetachHead/basedpyright/pull/1605) - [@&#8203;brunovollmer](https://github.com/brunovollmer) made their first contribution in [DetachHead#1607](https://github.com/DetachHead/basedpyright/pull/1607) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.32.1...v1.33.0> ### [`v1.32.1`](https://github.com/DetachHead/basedpyright/releases/tag/v1.32.1): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.32.0...v1.32.1) #### What's Changed - fix an accidental breaking change to `dataclass_transform` that was introduced in pyright 1.1.407 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1595](https://github.com/DetachHead/basedpyright/pull/1595) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.32.0...v1.32.1> ### [`v1.32.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.32.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.7...v1.32.0) #### What's Changed ##### `enableBasedFeatures` until 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`](https://docs.basedpyright.com/v1.32.0/configuration/config-files/#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_replace` argument to the `@dataclass_transform` decorator](https://docs.basedpyright.com/v1.32.0/benefits-over-pyright/dataclass-transform/), implemented by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1568](https://github.com/DetachHead/basedpyright/pull/1568) ##### new diagnostic rule - `reportSelfClsDefault` Pyright allows specifying a default value for `self` in instance methods and `cls` in class methods: ```py class Foo: def foo(self=1): ... ``` this is almost certainly a mistake, so this new diagnostic rule will warn against it. also implemented by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1581](https://github.com/DetachHead/basedpyright/pull/1581) ##### docs - recommend my fork of tach because tach has been abandoned by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1572](https://github.com/DetachHead/basedpyright/pull/1572) - fix typos in docs by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1582](https://github.com/DetachHead/basedpyright/pull/1582) ##### other changes - use the name `basedpyright` instead of `python` when instantiating vscode's `LanguageClient` so that the logging can be configured using `basedpyright.trace.server` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1583](https://github.com/DetachHead/basedpyright/pull/1583) - \[zh-cn l10n] fix incorrect translation of `paramNameMissing` by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1588](https://github.com/DetachHead/basedpyright/pull/1588) - Merge pyright 1.1.407 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1590](https://github.com/DetachHead/basedpyright/pull/1590) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.7...v1.32.0> ### [`v1.31.7`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.7): (pyright 1.1.406) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.6...v1.31.7) #### What's Changed ##### performance fixes - fix performance issues on large enums by [@&#8203;jabbera](https://github.com/jabbera) in [DetachHead#1535](https://github.com/DetachHead/basedpyright/pull/1535) - quicker way to check if a class is an enum before reporting `reportUnannotatedClassAttribute` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1544](https://github.com/DetachHead/basedpyright/pull/1544) ##### semantic highlighting - Use declarations as the primary source of semantic tokens by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1521](https://github.com/DetachHead/basedpyright/pull/1521) & [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1555](https://github.com/DetachHead/basedpyright/pull/1555) - Type-based descriptor instance highlighting by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1557](https://github.com/DetachHead/basedpyright/pull/1557) ##### docs - update cli installation instructions to make it clear that we recommend uv by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1549](https://github.com/DetachHead/basedpyright/pull/1549) - update basedpyright badge to match the colour of the logo by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1571](https://github.com/DetachHead/basedpyright/pull/1571) ##### other changes - Chinese (Simplified) translations update (2025.10) by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1546](https://github.com/DetachHead/basedpyright/pull/1546) - suggest import aliases from user code if explicitly re-exported by [@&#8203;mstmb-alan](https://github.com/mstmb-alan) in [DetachHead#1539](https://github.com/DetachHead/basedpyright/pull/1539) - report an error when attempting to subscript `array.array` at runtime on python <3.12 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1552](https://github.com/DetachHead/basedpyright/pull/1552) - fix errors from new builtin `string.templatelib` module and generate stub docstrings for 3.14 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1551](https://github.com/DetachHead/basedpyright/pull/1551) #### New Contributors - [@&#8203;jabbera](https://github.com/jabbera) made their first contribution in [DetachHead#1535](https://github.com/DetachHead/basedpyright/pull/1535) - [@&#8203;mstmb-alan](https://github.com/mstmb-alan) made their first contribution in [DetachHead#1539](https://github.com/DetachHead/basedpyright/pull/1539) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.6...v1.31.7> ### [`v1.31.6`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.6): (pyright 1.1.406) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.5...v1.31.6) #### What's Changed - fix duplicated `reportMatchNotExhaustive` and missing `reportImplicitOverride` in the docs by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1522](https://github.com/DetachHead/basedpyright/pull/1522) - Remove `v` from rev tag for prek in the docs by [@&#8203;sakosha](https://github.com/sakosha) in [DetachHead#1520](https://github.com/DetachHead/basedpyright/pull/1520) - Merge pyright 1.1.406 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1537](https://github.com/DetachHead/basedpyright/pull/1537) - Fix some typos in the Russian localization by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1531](https://github.com/DetachHead/basedpyright/pull/1531) #### New Contributors - [@&#8203;sakosha](https://github.com/sakosha) made their first contribution in [DetachHead#1520](https://github.com/DetachHead/basedpyright/pull/1520) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.5...v1.31.6> ### [`v1.31.5`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.5): (pyright 1.1.405) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.4...v1.31.5) #### What's Changed ##### semantic highlighting - Semantic Tokens for custom builtins specified in project `__builtins__.pyi` by [@&#8203;Wizzerinus](https://github.com/Wizzerinus) in [DetachHead#1451](https://github.com/DetachHead/basedpyright/pull/1451) - Improved Semantic Tokens: Enums, Properties, Constants, and Static Methods by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1469](https://github.com/DetachHead/basedpyright/pull/1469) ##### baseline - add back baseline cache by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1473](https://github.com/DetachHead/basedpyright/pull/1473) - fix `--baselinefile` cli argument and update the docs to reflect that the baseline file functionality is now stable by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1480](https://github.com/DetachHead/basedpyright/pull/1480) ##### docs - update pre-commit docs to primarily mention prek instead of pre-commit by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1487](https://github.com/DetachHead/basedpyright/pull/1487) - update zed installation instructions to reflect that basedpyright is now the default language server by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1495](https://github.com/DetachHead/basedpyright/pull/1495) - `uv pip install` -> `uv tool install` by [@&#8203;HairlessVillager](https://github.com/HairlessVillager) in [DetachHead#1482](https://github.com/DetachHead/basedpyright/pull/1482) ##### other changes - fix `\N{` (named unicode characters) in strings being turned into f-strings by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1504](https://github.com/DetachHead/basedpyright/pull/1504) - don't report `reportInvalidTypeVarUse` for type var in return type by [@&#8203;KotlinIsland](https://github.com/KotlinIsland) in [DetachHead#1498](https://github.com/DetachHead/basedpyright/pull/1498) - Update Russian localization by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1497](https://github.com/DetachHead/basedpyright/pull/1497) - enable `basedpyright.analysis.inlayHints.genericTypes` by default by [@&#8203;KotlinIsland](https://github.com/KotlinIsland) in [DetachHead#1513](https://github.com/DetachHead/basedpyright/pull/1513) - display an error when attempting to rename a symbol to an invalid python identifier by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1514](https://github.com/DetachHead/basedpyright/pull/1514) #### New Contributors - [@&#8203;HairlessVillager](https://github.com/HairlessVillager) made their first contribution in [DetachHead#1482](https://github.com/DetachHead/basedpyright/pull/1482) - [@&#8203;KurtBoehm](https://github.com/KurtBoehm) made their first contribution in [DetachHead#1469](https://github.com/DetachHead/basedpyright/pull/1469) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.4...v1.31.5> ### [`v1.31.4`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.4): (pyright 1.1.405) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.3...v1.31.4) #### What's Changed - make `allowedUntypedLibraries` work on overloads by [@&#8203;leonardo-panseri](https://github.com/leonardo-panseri) in [DetachHead#1437](https://github.com/DetachHead/basedpyright/pull/1437) - fix `autoFormatStrings` when client does not support dynamic registration for `onTypeFormatting` by [@&#8203;ribru17](https://github.com/ribru17) in [DetachHead#1452](https://github.com/DetachHead/basedpyright/pull/1452) - docs: update pycharm screenshot for required plugins by [@&#8203;euri10](https://github.com/euri10) in [DetachHead#1449](https://github.com/DetachHead/basedpyright/pull/1449) - Merge pyright 1.1.405 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1453](https://github.com/DetachHead/basedpyright/pull/1453) #### New Contributors - [@&#8203;leonardo-panseri](https://github.com/leonardo-panseri) made their first contribution in [DetachHead#1437](https://github.com/DetachHead/basedpyright/pull/1437) - [@&#8203;euri10](https://github.com/euri10) made their first contribution in [DetachHead#1449](https://github.com/DetachHead/basedpyright/pull/1449) - [@&#8203;ribru17](https://github.com/ribru17) made their first contribution in [DetachHead#1452](https://github.com/DetachHead/basedpyright/pull/1452) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.3...v1.31.4> ### [`v1.31.3`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.3): (pyright 1.1.404) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.2...v1.31.3) #### What's Changed - fix link in vscode description for `diagnosticSeverityOverrides` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1431](https://github.com/DetachHead/basedpyright/pull/1431) - Merge pyright 1.1.404 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1438](https://github.com/DetachHead/basedpyright/pull/1438) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.2...v1.31.3> ### [`v1.31.2`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.2): (pyright 1.1.403) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.1...v1.31.2) #### What's Changed - Hide inlay hints when the parameter matches an accessed member's name by [@&#8203;tylerlaprade](https://github.com/tylerlaprade) in [DetachHead#1420](https://github.com/DetachHead/basedpyright/pull/1420) - fix completions in quoted types not working in vscode by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1428](https://github.com/DetachHead/basedpyright/pull/1428) - Update `prefligit` to `prek` in docs by [@&#8203;j178](https://github.com/j178) in [DetachHead#1423](https://github.com/DetachHead/basedpyright/pull/1423) - improve zed installation instructions by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1425](https://github.com/DetachHead/basedpyright/pull/1425) #### New Contributors - [@&#8203;j178](https://github.com/j178) made their first contribution in [DetachHead#1423](https://github.com/DetachHead/basedpyright/pull/1423) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.1...v1.31.2> ### [`v1.31.1`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.1): (pyright 1.1.403) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.0...v1.31.1) #### What's Changed - fix `# pyright: ignore` code actions inserting the comment before the last character if the error is on the last line in the file by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1398](https://github.com/DetachHead/basedpyright/pull/1398) - fix inlay hints not appearing on instance attribute declarations by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1410](https://github.com/DetachHead/basedpyright/pull/1410) - fix renaming files when imported with a relative import by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1414](https://github.com/DetachHead/basedpyright/pull/1414) - fix "find all references" on `__init__` and `__new__` methods by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1415](https://github.com/DetachHead/basedpyright/pull/1415) - add tip to the docs recommending prefligit over pre-commit by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1413](https://github.com/DetachHead/basedpyright/pull/1413) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.0...v1.31.1> ### [`v1.31.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.0): (pyright 1.1.403) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.30.1...v1.31.0) #### What's Changed ##### automatic conversion to f-string when typing `{` inside a string implement `basedpyright.analysis.autoFormatStrings` setting from pylance: ![](https://docs.basedpyright.com/v1.31.0/benefits-over-pyright/autoformatstrings.gif) implemented in [DetachHead#1390](https://github.com/DetachHead/basedpyright/pull/1390) ##### other changes - Remove duplicate semantic tokens for readonly properties by [@&#8203;ValdezFOmar](https://github.com/ValdezFOmar) in [DetachHead#1386](https://github.com/DetachHead/basedpyright/pull/1386) - fix `writeBaseline`, `restartServer` and `createTypeStub` commands only being registered in the vscode extension instead of the language server by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1385](https://github.com/DetachHead/basedpyright/pull/1385) - Change default diagnostic category for `reportImplicitAbstractClass` to `"error"` when `typeCheckingMode` is `"recommended"` by [@&#8203;tylerlaprade](https://github.com/tylerlaprade) in [DetachHead#1392](https://github.com/DetachHead/basedpyright/pull/1392) - improve wording in the cards on the docs home page & mention upstream merging by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1393](https://github.com/DetachHead/basedpyright/pull/1393) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.30.1...v1.31.0> ### [`v1.30.1`](https://github.com/DetachHead/basedpyright/releases/tag/v1.30.1): (pyright 1.1.403) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.30.0...v1.30.1) #### What's Changed - fix code actions in jupyter notebooks by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1384](https://github.com/DetachHead/basedpyright/pull/1384) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.30.0...v1.30.1> ### [`v1.30.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.30.0): (pyright 1.1.403) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.29.5...v1.30.0) #### What's Changed - add code action for inserting `# pyright: ignore` comments by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1359](https://github.com/DetachHead/basedpyright/pull/1359) - Chinese (Simplified) translation update (2025.07) by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1333](https://github.com/DetachHead/basedpyright/pull/1333) - Fix contravariant TypeVar example in documentation by [@&#8203;yeetaryan](https://github.com/yeetaryan) in [DetachHead#1373](https://github.com/DetachHead/basedpyright/pull/1373) - Document installation on Neovim 0.11+ by [@&#8203;roushou](https://github.com/roushou) in [DetachHead#1375](https://github.com/DetachHead/basedpyright/pull/1375) - Merge 1.1.403 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1379](https://github.com/DetachHead/basedpyright/pull/1379) #### New Contributors - [@&#8203;yeetaryan](https://github.com/yeetaryan) made their first contribution in [DetachHead#1373](https://github.com/DetachHead/basedpyright/pull/1373) - [@&#8203;roushou](https://github.com/roushou) made their first contribution in [DetachHead#1375](https://github.com/DetachHead/basedpyright/pull/1375) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.29.5...v1.30.0> ### [`v1.29.5`](https://github.com/DetachHead/basedpyright/releases/tag/v1.29.5): (pyright 1.1.402) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.29.4...v1.29.5) #### What's Changed - add new `basedpyright.analysis.inlayHints.callArgumentNamesMatching` setting for function parameter inlay hints where the name matches by [@&#8203;sam-or](https://github.com/sam-or) in [DetachHead#1340](https://github.com/DetachHead/basedpyright/pull/1340) - throw error if invalid value is passed to `--threads` in the CLI by [@&#8203;Rayahhhmed](https://github.com/Rayahhhmed) in [DetachHead#1355](https://github.com/DetachHead/basedpyright/pull/1355) - fix crash in neovim caused by invalid annotation ID in WorkspaceEdit by [@&#8203;jbradaric](https://github.com/jbradaric) in [DetachHead#1352](https://github.com/DetachHead/basedpyright/pull/1352) - Document implicit dependency of VSCode extension on ms-python by [@&#8203;lightspot21](https://github.com/lightspot21) in [DetachHead#1344](https://github.com/DetachHead/basedpyright/pull/1344) - Grammar nits in `new-diagnostic-rules.md` by [@&#8203;tylerlaprade](https://github.com/tylerlaprade) in [DetachHead#1332](https://github.com/DetachHead/basedpyright/pull/1332) - Fix spelling of `"discouraged"` in `config-files.md` by [@&#8203;tylerlaprade](https://github.com/tylerlaprade) in [DetachHead#1337](https://github.com/DetachHead/basedpyright/pull/1337) #### New Contributors - [@&#8203;sam-or](https://github.com/sam-or) made their first contribution in [DetachHead#1340](https://github.com/DetachHead/basedpyright/pull/1340) - [@&#8203;lightspot21](https://github.com/lightspot21) made their first contribution in [DetachHead#1344](https://github.com/DetachHead/basedpyright/pull/1344) - [@&#8203;Rayahhhmed](https://github.com/Rayahhhmed) made their first contribution in [DetachHead#1355](https://github.com/DetachHead/basedpyright/pull/1355) - [@&#8203;jbradaric](https://github.com/jbradaric) made their first contribution in [DetachHead#1352](https://github.com/DetachHead/basedpyright/pull/1352) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.29.4...v1.29.5> ### [`v1.29.4`](https://github.com/DetachHead/basedpyright/releases/tag/v1.29.4): (pyright 1.1.402) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.29.3...v1.29.4) #### What's Changed - fix "unknown config option" false positive on `reportUnreachable` caused by upstream merge mistake by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1326](https://github.com/DetachHead/basedpyright/pull/1326) - pyright now has its own version of `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 info](https://docs.basedpyright.com/latest/benefits-over-pyright/fixes-for-rules/#reportunreachable) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.29.3...v1.29.4> ### [`v1.29.3`](https://github.com/DetachHead/basedpyright/releases/tag/v1.29.3): (pyright 1.1.402) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.29.2...v1.29.3) #### What's Changed - Chinese (Simplified) localization update (2025.05) by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1277](https://github.com/DetachHead/basedpyright/pull/1277) - Merge 1.1.402 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1324](https://github.com/DetachHead/basedpyright/pull/1324) - pyright now has its own version of `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 info](https://docs.basedpyright.com/latest/benefits-over-pyright/fixes-for-rules/#reportunreachable) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.29.2...v1.29.3> ### [`v1.29.2`](https://github.com/DetachHead/basedpyright/releases/tag/v1.29.2): (pyright 1.1.401) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.29.1...v1.29.2) #### What's Changed - fix crash on inlay hints in notebooks when the type comes from another cell by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1278](https://github.com/DetachHead/basedpyright/pull/1278) - improve docstring parsing for parameters by [@&#8203;rickyelopez](https://github.com/rickyelopez) in [DetachHead#1267](https://github.com/DetachHead/basedpyright/pull/1267) - fix `reportIncompatibleUnannotatedOverride` false positive & fix case where it changes the behavior of `reportIncompatibleMethodOverride` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1286](https://github.com/DetachHead/basedpyright/pull/1286) - Add semantic highlights for `self` and `cls` parameters by [@&#8203;ValdezFOmar](https://github.com/ValdezFOmar) in [DetachHead#1291](https://github.com/DetachHead/basedpyright/pull/1291) - Do not autocomplete `@override` when `reportExplicitOverride` is disabled by [@&#8203;sterliakov](https://github.com/sterliakov) in [DetachHead#1292](https://github.com/DetachHead/basedpyright/pull/1292) - Merge 1.1.401 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1297](https://github.com/DetachHead/basedpyright/pull/1297) - configure vscode to treat `selfParameter` and `clsParameter` semantic token types as a subtype of `parameter` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1298](https://github.com/DetachHead/basedpyright/pull/1298) #### New Contributors - [@&#8203;rickyelopez](https://github.com/rickyelopez) made their first contribution in [DetachHead#1267](https://github.com/DetachHead/basedpyright/pull/1267) - [@&#8203;sterliakov](https://github.com/sterliakov) made their first contribution in [DetachHead#1292](https://github.com/DetachHead/basedpyright/pull/1292) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.29.1...v1.29.2> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44My4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Update dependency basedpyright to v1.31.3
Some checks failed
Actions / Lint (pull_request) Failing after 6s
Actions / Build (pull_request) Failing after 7s
Actions / Documentation (pull_request) Failing after 7s
ab4e3a9975
Renovate bot changed title from Update dependency basedpyright to v1.31.3 to Update dependency basedpyright to v1.31.4 2025-09-03 09:23:34 -04:00
Renovate bot changed title from Update dependency basedpyright to v1.31.4 to Update dependency basedpyright to v1.31.5 2025-09-24 09:03:52 -04:00
Renovate bot force-pushed renovate/basedpyright-1.x from 4ae15fbe04 to 4ec8fb201c
Some checks failed
Actions / Documentation (pull_request) Failing after 5s
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 7s
2025-09-24 09:03:53 -04:00
Compare
Renovate bot force-pushed renovate/basedpyright-1.x from 4ec8fb201c
Some checks failed
Actions / Documentation (pull_request) Failing after 5s
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 7s
to e290f7c2eb
Some checks failed
Actions / Documentation (pull_request) Failing after 4s
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 6s
2025-10-01 09:23:16 -04:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.31.5 to Update dependency basedpyright to v1.31.6 2025-10-01 09:23:17 -04:00
Renovate bot force-pushed renovate/basedpyright-1.x from e290f7c2eb
Some checks failed
Actions / Documentation (pull_request) Failing after 4s
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 6s
to 37999693f1
Some checks failed
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 6s
Actions / Documentation (pull_request) Failing after 4s
2025-10-02 04:23:04 -04:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.31.6 to Update dependency basedpyright to v1.31.7 2025-10-11 01:29:43 -04:00
Renovate bot force-pushed renovate/basedpyright-1.x from 37999693f1
Some checks failed
Actions / Lint (pull_request) Failing after 5s
Actions / Build (pull_request) Failing after 6s
Actions / Documentation (pull_request) Failing after 4s
to aaf1cffa94
Some checks failed
Actions / Documentation (pull_request) Failing after 28s
Actions / Lint (pull_request) Failing after 30s
Actions / Build (pull_request) Failing after 32s
2025-10-11 01:29:45 -04:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.31.7 to Update dependency basedpyright to v1.32.0 2025-10-22 08:43:40 -04:00
Renovate bot force-pushed renovate/basedpyright-1.x from aaf1cffa94
Some checks failed
Actions / Documentation (pull_request) Failing after 28s
Actions / Lint (pull_request) Failing after 30s
Actions / Build (pull_request) Failing after 32s
to 238a832e56
Some checks failed
Actions / Build (pull_request) Failing after 33s
Actions / Lint (pull_request) Failing after 32s
Actions / Documentation (pull_request) Failing after 4s
2025-10-22 08:43:40 -04:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.32.0 to Update dependency basedpyright to v1.32.1 2025-10-23 09:03:43 -04:00
Renovate bot force-pushed renovate/basedpyright-1.x from 238a832e56
Some checks failed
Actions / Build (pull_request) Failing after 33s
Actions / Lint (pull_request) Failing after 32s
Actions / Documentation (pull_request) Failing after 4s
to 1c534c7561
Some checks failed
Actions / Lint (pull_request) Failing after 4s
Actions / Build (pull_request) Failing after 5s
Actions / Documentation (pull_request) Failing after 4s
2025-10-23 09:03:44 -04:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.32.1 to Update dependency basedpyright to v1.34.0 2025-11-22 09:26:30 -05:00
Renovate bot force-pushed renovate/basedpyright-1.x from 1c534c7561
Some checks failed
Actions / Lint (pull_request) Failing after 4s
Actions / Build (pull_request) Failing after 5s
Actions / Documentation (pull_request) Failing after 4s
to 077ee4a350
Some checks failed
renovate/artifacts Artifact file update failure
Actions / Lint (pull_request) Failing after 12s
Actions / Build (pull_request) Failing after 25s
Actions / Documentation (pull_request) Failing after 4s
2025-11-22 09:26:30 -05:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.34.0 to Update dependency basedpyright to v1.35.0 2025-12-03 09:33:59 -05:00
Renovate bot force-pushed renovate/basedpyright-1.x from 077ee4a350
Some checks failed
renovate/artifacts Artifact file update failure
Actions / Lint (pull_request) Failing after 12s
Actions / Build (pull_request) Failing after 25s
Actions / Documentation (pull_request) Failing after 4s
to eec05970b7
Some checks failed
Actions / Documentation (pull_request) Failing after 3s
Actions / Build (pull_request) Failing after 4s
Actions / Lint (pull_request) Failing after 4s
2025-12-03 09:33:59 -05:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.35.0 to Update dependency basedpyright to v1.36.0 2025-12-09 09:33:57 -05:00
Renovate bot force-pushed renovate/basedpyright-1.x from eec05970b7
Some checks failed
Actions / Documentation (pull_request) Failing after 3s
Actions / Build (pull_request) Failing after 4s
Actions / Lint (pull_request) Failing after 4s
to 44e2013de8
Some checks failed
Actions / Lint (pull_request) Failing after 4s
Actions / Build (pull_request) Failing after 4s
Actions / Documentation (pull_request) Failing after 4s
2025-12-09 09:33:57 -05:00
Compare
Renovate bot force-pushed renovate/basedpyright-1.x from 44e2013de8
Some checks failed
Actions / Lint (pull_request) Failing after 4s
Actions / Build (pull_request) Failing after 4s
Actions / Documentation (pull_request) Failing after 4s
to ee70314cb7
Some checks failed
Actions / Documentation (pull_request) Failing after 3s
Actions / Build (pull_request) Failing after 5s
Actions / Lint (pull_request) Failing after 4s
2025-12-11 10:04:08 -05:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.36.0 to Update dependency basedpyright to v1.36.1 2025-12-11 10:04:08 -05:00
Some checks failed
Actions / Documentation (pull_request) Failing after 3s
Actions / Build (pull_request) Failing after 5s
Actions / Lint (pull_request) Failing after 4s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/basedpyright-1.x:renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x

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.

git switch main
git merge --no-ff renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x
git rebase main
git switch main
git merge --ff-only renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x
git rebase main
git switch main
git merge --no-ff renovate/basedpyright-1.x
git switch main
git merge --squash renovate/basedpyright-1.x
git switch main
git merge --ff-only renovate/basedpyright-1.x
git switch main
git merge renovate/basedpyright-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cswimr/PyFlowery!32
No description provided.