TOML project config files are becoming a standard in python, introduced in PEP. Beside, some of the components that are used in the template (e.g. Black) can be configured only using TOML, and not via setup.cfg.
However, at the present point there is still some resistance for TOML to be fully integrated in Python, see for instance the discussion in flake8
There are few possibilities here:
- Wait for TOML file to be a standard widely used and then migrate configuration from CFG to TOML. Meanwhile use both TOML and CFG files, depending on the tool to be configured
- Stick to either TOML or CFG and rely on some workaround (e.g. minor packages) to integrate the configuration (e.g. this repo and references therein configures black with cfg, and this repo configure flake8 with TOML)
- Migrate linting from flake8 to pylint (and stick to technologies that can be configured with TOML)
TOML project config files are becoming a standard in python, introduced in PEP. Beside, some of the components that are used in the template (e.g. Black) can be configured only using TOML, and not via setup.cfg.
However, at the present point there is still some resistance for TOML to be fully integrated in Python, see for instance the discussion in flake8
There are few possibilities here: