Function call can be replaced with set literal

Last modified: Last modified: 18 September 2025

Reports calls to the set function that can be replaced with the set literal.

Example:

When the quick-fix is applied, the code changes to:

Inspection ID: PySetFunctionToLiteralInspection