-
Notifications
You must be signed in to change notification settings - Fork 5
Linting fixes #17
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
Linting fixes #17
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.
this is great, thanks! I especially like the match case that was introduced.
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.
Posted some comments. Let's rebase it and solve conflicts and squash to single commit - the diff should be smaller.
This can be done by the squash-merge strategy in GitHub. Also, squashing merge-commits is hard. |
Sure!
Right, that's why I personally prefer to always |
Is there a repo-wide setting I need to update here? |
Let's make this a principle we stick to - I don't think there is. [EDIT] Looks that here's a branch rule for it: But some people complain about it: https://github.com/orgs/community/discussions/61107#discussioncomment-6671872 although I'm not sure this applies to us. |
I usually prefer that too -- but I do make exceptions for large PRs where one merge conflict is easier to handle than many small ones. |
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.
@hameerabbasi I finished reviewing it: I'm only concerned about LogicNode
class and node.py
changes (I still prefer the have LogicNode
class used as a main node representation).
The rest of the changes LGMT.
Merged, Thanks @hameerabbasi! |
This reverts commit c0cf990.
mypy
to catch typing errors