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

Adhere to PEP 8 naming convention #24

Merged
merged 2 commits into from
May 26, 2023
Merged

Conversation

mark-koch
Copy link
Collaborator

@mark-koch mark-koch commented May 26, 2023

This closes #12

Copy link
Collaborator

@jvdwetering jvdwetering left a comment

Choose a reason for hiding this comment

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

It looks like you only applied this naming convention to this one file? Are the other files already fine?

@@ -63,7 +63,7 @@ def __init__(self) -> None:
self.graph_view.set_graph(construct_circuit())
# self.graph_view.set_graph(zx.generate.cliffords(5, 5))

def Button_Fuse_Clicked():
def fuse_Cclicked():
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this a typo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah good catch 👍

@mark-koch
Copy link
Collaborator Author

It looks like you only applied this naming convention to this one file? Are the other files already fine?

I didn't spot anything in the other files

@jvdwetering
Copy link
Collaborator

Just checking, but have you made sure that the program still works and none of the buttons crash the program?
This is where unit tests would really have come in handy of course.

@mark-koch
Copy link
Collaborator Author

Yes everything seems to work fine, but I agree unit tests would be nice

@jvdwetering jvdwetering merged commit 9d0ecc6 into zxcalc:master May 26, 2023
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.

Consistent naming conventions
2 participants