boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

Report non existent file #69

Open fperrin opened 4 years ago

fperrin commented 4 years ago

Hi Bryan,

Currently rflint doesn't report an error when run on a non-existent file, or a file it can't open for some other reason, only giving a message on stderr. This changes that behaviour, by going through RfLint.report to report the error. As a result the error message is formatted according to the --format option and update the exit code.

fperrin commented 4 years ago

Hi @boakley ,

Can I also prod you to have a look at this PR? Again, if there is anything I can do to help you review it, please tell me. I actually have a few more changes I'd like to submit, so if I can make your job easier don't hesitate, that'll make the process more enjoyable for all!