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

Move pytest config from tox.ini to setup.cfg #1670

Conversation

aucampia
Copy link
Member

tox.ini is pretty noisy and I'm adding more stuff there for
pre-commit so I think to make things more manageable it is better ot
keep unrleated config in setup.cfg.

`tox.ini` is pretty noisy and I'm adding more stuff there for
pre-commit so I think to make things more manageable it is better to
keep unrleated config in `setup.cfg`.

We also already have some pytest config in `setup.cfg`.
@aucampia aucampia force-pushed the iwana-20220114T2304-pytest_in_setup_cfg branch from aaf472a to 604f533 Compare January 14, 2022 22:14
@aucampia
Copy link
Member Author

Not a thing that is going to work sadly:

configparser.InterpolationMissingOptionError: Bad value substitution: option 'log_cli_format' in section 'tool:pytest' contains an interpolation key 'asctime' which is not a valid option name. Raw value: '%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)'

Will be gone eventually, but for now the config stays in tox.ini.

@aucampia aucampia closed this Jan 14, 2022
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

Successfully merging this pull request may close these issues.

1 participant