Skip to content

Remove yapf requirement to support python > 3.6#41

Open
augustobottelli wants to merge 1 commit intodnanhkhoa:masterfrom
augustobottelli:master
Open

Remove yapf requirement to support python > 3.6#41
augustobottelli wants to merge 1 commit intodnanhkhoa:masterfrom
augustobottelli:master

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?

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