-
Notifications
You must be signed in to change notification settings - Fork 30
Remove black as a dependency #36
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -143,11 +143,11 @@ | |
| "pytest-xdist~=1.29", | ||
| "tox~=3.14", | ||
| "autopep8~=1.4", | ||
| "black~=20.8b1; python_version >= '3.6'", | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assumed that an update to the latest version would not be a problem! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. black formats differently based on its version, so black should probably be pinned in the projects using this library, not here. If it must be here, then probably having it be any version makes more sense? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Madoshakalaka thoughts? This issue (#34) is causing problems for us.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @grizz I've moved the requirement to the dev requirements in this PR, so it won't attempt to install black at all when you use it.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also running into this issue. Wouldn't upgrading the Aside from that, I def like this solution, FWIW. |
||
| ] | ||
| }, | ||
| install_requires=[ | ||
| "pipfile~=0.0", | ||
| "black==19.10b0; python_version >= '3.6'", | ||
| "colorama~=0.4", | ||
| "packaging~=20.0", | ||
| "requirementslib~=1.5", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
elsebeforeexceptblock is a syntax error; I'd recommend the following: