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

Add black toml config #934

Closed
wants to merge 1 commit into from
Closed

Add black toml config #934

wants to merge 1 commit into from

Conversation

yoann9344
Copy link
Contributor

@yoann9344 yoann9344 commented Sep 30, 2021

Add the black config used by poetry style in the Makefile to pyproject.toml.

See black configuration file.

Based on the options used by poetry (see Makefile)
@long2ice
Copy link
Member

Can set it in setup.cfg like other tools?

@yoann9344
Copy link
Contributor Author

yoann9344 commented Sep 30, 2021

As far as I know black uses only pyproject.toml

Ps : psf/black#688
They won't support something else than pyproject.toml !

Actually most of the libraries seem to got for .toml, so maybe we might have soon a pep to clean this mess ! And possibly the choice could go for the toml.

@long2ice
Copy link
Member

long2ice commented Oct 9, 2021

Did that already

@long2ice long2ice closed this Oct 9, 2021
@yoann9344 yoann9344 deleted the black_config_toml branch October 14, 2021 09:01
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.

2 participants