Skip to content

Install Black and isort autoformatters#3069

Merged
srittau merged 3 commits into
python:masterfrom
Eric-Arellano:install-black-isort
Jun 24, 2019
Merged

Install Black and isort autoformatters#3069
srittau merged 3 commits into
python:masterfrom
Eric-Arellano:install-black-isort

Conversation

@Eric-Arellano
Copy link
Copy Markdown
Contributor

The first stage of adding auto-formatters (#3058), as described by #3062 (comment). This allows users to use Black and isort, but we do not yet document how to do so nor do we enforce it.

We configure isort to work with Black and instruct both tools to use a line length of 130, per the consensus described in #3058 (comment).

Notably we keep the convention of 130 line length.
Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one comment.

Comment thread pyproject.toml
@srittau srittau requested a review from JelleZijlstra June 17, 2019 20:52
@srittau srittau merged commit 8131bfc into python:master Jun 24, 2019
@Eric-Arellano Eric-Arellano deleted the install-black-isort branch June 28, 2019 17:54
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