Bozhidar Batsov
Bozhidar Batsov
Below 27 or 28? :-)
Please update the commit message as well.
Don't forget to also mention the checker in the docs and the changelog.
Fair point. I'm not sure what we should do about those tests in general. @cpitclaudel Any thoughts on this?
> It is possible to pass code to ruff via stdin that's not associated with any file. Ruff will not apply any fixes, but it will report errors, so it...
Overall your changes seem reasonable and I only added one small inline comment that needs to be addressed. Did you base the code on the code of an existing checker?...
The suggested changes look good to me. Please, mention them somewhere in the docs as well, and in the changelog.
@ktetzlaff You can use `declare-function` for this. See https://www.gnu.org/software/emacs/manual/html_node/elisp/Declaring-Functions.html
Can you seen https://www.flycheck.org/en/latest/user/syntax-checkers.html#change-syntax-checker-executables ?
See also https://github.com/flycheck/flycheck/issues/1055