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

Blacken the rest of the codebase, in one go #10360

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Aug 13, 2021

Closes #8543
Closes #10299
Closes #10359
Closes #10285

In case we decide to do this in #10299.

@pradyunsg pradyunsg changed the title Blacken the codebase Blacken the rest of the codebase, in one go Aug 13, 2021
@pradyunsg pradyunsg force-pushed the blacken-everything branch 3 times, most recently from c9ca912 to 9523580 Compare August 15, 2021 12:35
@pradyunsg pradyunsg marked this pull request as ready for review August 15, 2021 12:35
@sbidoul sbidoul added the skip news Does not need a NEWS file entry (eg: trivial changes) label Aug 15, 2021
@github-actions github-actions bot added the needs rebase or merge PR has conflicts with current master label Aug 16, 2021
Copy link
Contributor

@jdufresne jdufresne left a comment

Choose a reason for hiding this comment

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

👍 to this approach.

^tests/functional/test_install|
# A blank ignore, to avoid merge conflicts later.
^$
exclude: src/pip/_vendor/
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
exclude: src/pip/_vendor/

I believe this line can be dropped as _vendor is already excluded globally on line 1.

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed! Done. :)

@pypa-bot pypa-bot removed the needs rebase or merge PR has conflicts with current master label Aug 20, 2021
@pradyunsg
Copy link
Member Author

I'm gonna go ahead and merge this now; since no one has said "Don't do this!?!" in #10299. I'll also enable the news check, since a whole bunch of PRs are gonna be updated for the conflicts this causes; so they'd also end up getting the newer news checking workflow as well.

@pradyunsg pradyunsg merged commit 09103e8 into pypa:main Aug 20, 2021
@pradyunsg pradyunsg deleted the blacken-everything branch August 20, 2021 12:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adopting black (and linter updates!)
5 participants