Open jvacek opened 3 hours ago
In regards to #931, supporting something like this would allow people to write/generate their own files like false_positives.toml
which they can then include/share as well, and you don't have to support some additional format for config
I'd like to have the entire configuration for typos shared among multiple repositories as a base, and be able to override those options locally after inheriting.
It would be nice if there was an option in the config file to extend from another config file, much like
ruff
orpyright
does.Currently, for
ruff
, I can for example do something like this in mypyproject.toml
(docs)For
typos
, I would expect it to look something likeWhere the locale inherited from the submodule's typos.toml would be overwritten by the locally declared
en-gb
This would imply the following order for sourcing: