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

Black #416

Merged
merged 2 commits into from
Dec 14, 2022
Merged

Black #416

merged 2 commits into from
Dec 14, 2022

Conversation

kfdm
Copy link
Collaborator

@kfdm kfdm commented Dec 7, 2022

Updated the settings in 2565066
For the rest picked a subset and tried to break it up for review purpose.

Final cleanup will involve squashing all the black fixups and then adding an entry in .git-blame-ignore-revs before merge.

kfdm added 2 commits December 14, 2022 09:08
Since black only supports pyproject.toml, we want to remove the related
isort config to the same file.

We set our max-line-length to 100 (up from the default 88) to give us a
bit more space to edit things, without as much noise.

migrations are mostly generated so we will have black ignore them for
now.

Our urls become somewhat inconsistent and unreadable even with
100 for a line length, so we set it to be excluded and manually
run it with 128 while preparing this first pass.

Commands run while building the PR
black promgen/notification
black promgen/discovery
black promgen/management
black promgen/tests
black promgen/urls.py -l 128
black promgen/views.py
black promgen # Last check
@kfdm
Copy link
Collaborator Author

kfdm commented Dec 14, 2022

Rebase is done and added to blame ignore file. Should be good for review 🙇

@kfdm kfdm marked this pull request as ready for review December 14, 2022 00:11
@kfdm kfdm requested a review from a team as a code owner December 14, 2022 00:11
Copy link
Contributor

@vincent-olivert-riera vincent-olivert-riera left a comment

Choose a reason for hiding this comment

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

Let's get this merged 👍🏻

@kfdm kfdm merged commit 7b9dfa4 into line:master Dec 14, 2022
@kfdm kfdm deleted the black branch December 14, 2022 00:29
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