Extend configuration from another file #1129
Labels
A-config
C-enhancement
Category: Raise on the bar on expectations
S-waiting-on-decision
Status: Waiting on a go/no-go before implementing
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:
The text was updated successfully, but these errors were encountered: