Initial support for Python 3.13, and improvements for the Data View tool window
Optional heatmap color schemes
PyCharm now provides two color-scheme options for the table heatmaps in the Data View tool window: the Diverging and Sequential color schemes. The Diverging color scheme emphasizes variation relative to a norm. It consists of two contrasting colors that deviate from a central value in two opposite directions.
The Sequential color scheme consists of a single color or a range of closely related colors that vary in intensity.
You can apply the heatmap color schemes to the whole table or to each column separately, or you can use coloring only for Boolean values.
Code assistance for TypeIs
annotations (PEP 742)
With the introduction of the TypeIs
annotation, you can now narrow the types in both if
and else
branches of conditionals. PyCharm now understands the TypeIs
syntax, and it provides proper type inference and code completion for the user-defined narrowed functions.
Warnings when assigning a value to a ReadOnly
member (PEP 705)
In Python 3.13 you will be able to use a ReadOnly
type qualifier for TypedDict
keys to remove the ability to update them. PyCharm now recognizes the ReadOnly
type qualifier and throws a warning if you try to assign to a ReadOnly
member or if a TypedDict
with a read-only item is updated with another TypedDict
that declares the key.
Completion for Django ModelAdmin
fields
PyCharm now provides intelligent code completion, refactoring, and navigation for fields such as list_display
, list_filter
, and search_fields
in ModelAdmin
classes.
Django Structure: New default grouping
According to research we recently conducted, the most common way users group elements in the Django Structure tool window is by component, and within components by app. PyCharm now defaults to this grouping and shows all components within this view. You can change this behavior so elements are first grouped by app and then by component within each app.
Find Usages for URLs directly from the editor
You can now search for all path usages, including OpenAPI schemas, across your project directly from the gutter or code vision actions.