Skip to content

Unnecessary install_aliases when on list_object.append() #314

Open
@alexlambson

Description

@alexlambson

In my code I have an area that calls

commands = []

commands.append("blahblahblah")

The .appends() is triggering futurize to import standard_library and call install_aliases
However, I can not do this where I work because it borks a lot of things.

Is there a reason why .appends(), .extends(), etc is triggering this that I am not aware of?

I got around the complaint by using

commands += ["blahblahblah"]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions