par-tec / python-cookiecutter

Repository for boilerplate workflows
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

pyproject.toml and setup.cfg #19

Open CastixGitHub opened 1 year ago

CastixGitHub commented 1 year ago

just use pyproject.toml where possible, setup.cfg otherwise there's no need to create a configuration file for each tool

ioggstream commented 1 year ago

Most of those files are read by pre-commit. To decouple the pre-commit environment from the project's environment we use dedicated files.

In this way, the pyproject.toml is not affected by the pre-commit configuration files.

WDYT?