-
-
Notifications
You must be signed in to change notification settings - Fork 102
Configuration
This page contains guidelines on where to put configuration for testing. NOT configuration for aiosmtpd itself.
-
pyproject.tomlSome packages may require specifying an
[extra]flag, e.g.,coverage[toml]. -
setup.cfgFor example,
pytypeandflake8does not (yet) supportpyproject.toml -
tox.iniif still existstox is capable of reading its .ini from
pyproject.toml. So, this file must always be low in the order of precedence, because it might disappear in the future. -
Tool's own config file / custom config file
For example,
bandithas no default config file. One must create a config file for this tool to run. And not only the config is YAML (so incompatible with the 3 files above), sticking it inside an unrelated config file will cause errors.So, in similar situations, we should create the tool's own config file.
This also applies to "external" tools such as
lgtm.yml,readthedocs.yml, etc.