Skip to content

Print warning when run against an unsupported file #1473

@not-my-profile

Description

@not-my-profile
$ echo 'not json' > foo.json 
$ ruff foo.json 
$ echo $?
0

We might also consider returning a non-zero status code since the file isn't supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliRelated to the command-line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions