Skip to content

Overwrite pidiff symlink if it already exists #16

@rohanpm

Description

@rohanpm

If pidiff has already been linked in the .pidiff virtualenvs, but to a different instance of pidiff, a run of the tool will fail with "FileExistsError: [Errno 17] File exists".

This can occur if e.g. a project uses pidiff within tox, but a dev also directly runs pidiff.

It would be better if pidiff overwrites the symlink when it already exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions