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 configuration of tools to pyproject.toml #2686
Conversation
@@ -20,7 +20,7 @@ twine==4.0.2 | |||
|
|||
# Tests & Linting | |||
black==23.3.0 | |||
coverage==7.2.2 | |||
coverage[toml]==7.2.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it to be able to read from the pyproject?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly. from what I have seen, coverage requires toml
extra to work with pyproject.toml
configs.
Since we've removed flake8 (which was the only project holding this change), I think this is a good change. 👍 |
Same PR welcome on other encode projects. 👀 🙏 |
Sure, give me a moment ;) |
Summary
Checklist
I have noticed that the tools configured by
setup.cfg
file are the ones that can be configured inpyproject.toml
which already held some of the tools configurations. Sincesetup.cfg
is inherently connected withsetuptools
which is not used in this project. I didn't see a need for a discussion in this case.