nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.37k stars 97 forks source link

Set literals have extra quotes #210

Closed JonathanPlasse closed 4 months ago

JonathanPlasse commented 4 months ago

Expected behavior

Set literals should not have extra quotes.

Description about the bug

Instead of this

def fbx(
    object_types: typing.Any | None = {
        '"CAMERA"',
        '"EMPTY"',
        '"MESH"',
        '"ARMATURE"',
        '"OTHER"',
        '"LIGHT"',
    }

It should be this

def fbx(
    object_types: typing.Any | None = {
        "CAMERA",
        "EMPTY",
        "MESH",
        "ARMATURE",
        "OTHER",
        "LIGHT",
    }

Screenshot from 2024-05-14 20-14-33