In addition to have lychee search for configuration in the .lycheeignore and lychee.toml file, I would love to have the possibility of adding lychee-specific configuration into a pyproject.toml file.
That way I can have all the configuration of the tools I use for my Python project nicely arranged in a single pyproject.toml file. For that to work, lychee-specific configuration needs to be put under its own section, like [tool.lychee].
I know lychee is not a Python-specific project, and is not written in Python. But that does not prevent it to be nice to the Python ecosystem.
A good example is the typos utility, which is written in Rust, but is supporting reading its configuration both from a pyproject.toml and a cargo.toml file:
In addition to have lychee search for configuration in the
.lycheeignoreandlychee.tomlfile, I would love to have the possibility of adding lychee-specific configuration into apyproject.tomlfile.That way I can have all the configuration of the tools I use for my Python project nicely arranged in a single
pyproject.tomlfile. For that to work, lychee-specific configuration needs to be put under its own section, like[tool.lychee].I know lychee is not a Python-specific project, and is not written in Python. But that does not prevent it to be nice to the Python ecosystem.
A good example is the
typosutility, which is written in Rust, but is supporting reading its configuration both from apyproject.tomland acargo.tomlfile: