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

Remove yapf requirement to support python > 3.6 #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

augustobottelli
Copy link

This PR fixes #40. Based on @IsaGrue's fork https://github.com/IsaGrue/nb_black

@alexjchin
Copy link

Can someone approve and merge this please? Would unblock having to work around installing this

@alexc-motif
Copy link

@dnanhkhoa are you able to approve?

@@ -25,7 +25,6 @@ def readme(file_name):
py_modules=["nb_black", "lab_black"],
zip_safe=False,
install_requires=[
"yapf >= 0.28; python_version < '3.6'",
"black >= 19.3; python_version >= '3.6'",

Choose a reason for hiding this comment

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

From the error message in #40 , it seems like we might need to change the next line as well.

Error message from #40

Expected end or semicolon (after name and no valid version specifier)
Suggested change
"black >= 19.3; python_version >= '3.6'",
"black >= 19.3",

@cramsuig
Copy link

Still an issue

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.

Update install requirements
5 participants