Skip to content

Path splitting #61

@ICreedenI

Description

@ICreedenI

Current Behavior

Raises the following errer:
Failed to run autoflake. Error: Stderr: [Errno 2] No such file or directory: 'Codes/1/a/cr/main.py'

The actual path is C:\Users\Creed\OneDrive\Schul-Dokumente\Programmieren\Python\Meine einzelnen Codes\1\a\cr\main.py and it contains spaces.

Expected Behavior

It works fine with C:\Users\Creed\OneDrive\Desktop\test.py, all unnecessary imports were removed.

Environment

  • Version: v1.0.4
  • Platform: Win 11

It looks like there are no quotes around the path. I hope the solution is as easy as just adding those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions