Skip to content

[feature-request] Allow --watch to automatically fix when combined with --fix #1064

@phillipuniverse

Description

@phillipuniverse

Running the following:

ruff . --fix --watch

I would expect that Ruff would automatically fix files that it watches, not just display the errors. But it appears that the --watch clobbers --fix in that it will watch files and just report the errors.

If I stop watching and then ruff . --fix, ruff automatically fixes issues that it found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfacegood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions