-
Notifications
You must be signed in to change notification settings - Fork 114
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
apply black formatter #100
Conversation
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.
Thanks for this change -- I think we also need to add black
into the requirements.txt
as well, and add a check: black --check .
to the scripts section in the travis yml file.
Looks good to me 👍 . I'm not sure how this might affect Jason's commits/conflicts, so I will wait on his approval. |
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.
Looks good, thank you for making this 👏
I have to rebase my changes on master anyway, so this is good to merge whenever you're ready.
pyteal/ir/ops.py
Outdated
gaids = OpType("gaids", Mode.Application, 4) | ||
callsub = OpType("callsub", Mode.Signature | Mode.Application, 4) | ||
retsub = OpType("retsub", Mode.Signature | Mode.Application, 4) | ||
err = OpType("err", Mode.Signature | Mode.Application, 2) |
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.
This makes me sad but I suppose there's no way to preserve the special spacing here
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.
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 special formatting can stay. Thanks to @ahangsu.
No description provided.