You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow pyproject.toml to define pre-commit config #1165
pyproject.toml allows development tools to store their configs in a section called after their pypi name. Some projects like black have started adopting it, and it would be nice if other tools started to support it as well to reduce the amount of config files that lie around at the project root.
I realize that that porting pre-commit's config is not trivial, so it might not be worth the effort. But since I couldn't find an existing issue I thought I'd ask.
Reacted by Haider Ali, Anton Melser, Okan Akbulut, Tucker Beck, Jean Cruypenynck, Volodymyr Kondratenko, Logovskii Dmitrii, Arne Fahrenwalde, Michael Sasser, Michael Barton and 18 more
no sorry, I have no interest in pyproject.toml and this
Reacted by Haider Ali, Adrian Garcia Badaracco, Anton Melser, Okan Akbulut, Tucker Beck, José Ribeiro, Ajay Jain, Paweł Żukowski, jjorissen52, Bramver and 48 more
Sorry to bump this closed issue but have your mind changed in two years ?
I love pre-commit and it's really useful.
With the new pep rules coming and all the tools adopting the format for the configuration it's really nice to have all the config in one place.
Activity
asottile commentedon Oct 9, 2019
no sorry, I have no interest in pyproject.toml and this
ierezell commentedon Jun 16, 2021
Sorry to bump this closed issue but have your mind changed in two years ?
I love pre-commit and it's really useful.
With the new pep rules coming and all the tools adopting the format for the configuration it's really nice to have all the config in one place.
Thanks for your work
Have a great day
asottile commentedon Jun 16, 2021
yeah don't do that -- it's closed for a reason
asottile commentedon Jun 16, 2021
you also don't actually want this, toml is really bad at representing nested structures: