consider-using-assignment-expr / R6103ΒΆ

Message emitted:

Use '%s' instead

Description:

Emitted when an if assignment is directly followed by an if statement and both can be combined by using an assignment expression ``:=``. Requires Python 3.8 and ``py-version >= 3.8``.

Created by code_style checker