Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use native config files for coverage, flake8, and yapf #162

Open
eirrgang opened this issue Sep 22, 2022 · 1 comment
Open

Use native config files for coverage, flake8, and yapf #162

eirrgang opened this issue Sep 22, 2022 · 1 comment

Comments

@eirrgang
Copy link
Contributor

eirrgang commented Sep 22, 2022

The cookiecutter template puts the configuration for coverage, flake8, and yapf in setup.cfg.

However, setup.cfg is traditionally the setuptools config file. setuptools traditionally provided setuptools.config.read_configuration(), but the project is abandoning setup.cfg, and the tool is deprecated.

I haven't checked whether these specific tools have their own parsing or not. But, to avoid confusion or deprecation warnings (or ultimately errors), we should probably move the configuration for these tools to their own native config files.

@janash
Copy link
Member

janash commented Sep 26, 2022

Hi @eirrgang - yes, I think these are good ideas. You're also correct that we use black these days, so that should also be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants