Open jgarte opened 1 year ago
Happy to accept a PR for this, but I'm really not a big fan of linters that expect you to figure out the project type and pass through this sort of parent configuration file they may need. Really ruff should just take the path to the file you're wanting to format as an extra option it can figure if there's any configs or something else in the project that it may want to use for formatting.
Ruff also has this command line flag: --config
https://docs.astral.sh/ruff/configuration/#command-line-interface
Hi,
ruff can read from config files in the repo:
https://github.com/erickgnavar/flymake-ruff/blob/master/flymake-ruff.el#L38
WDYT