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

Begin code tidy, per Flake8 #5

Merged
merged 12 commits into from
Mar 10, 2021
Merged

Conversation

hornc
Copy link
Contributor

@hornc hornc commented Mar 4, 2021

I've made a start at tidying up some of the basic style changes for #3 using

flake8 --ignore E501,E731,F405

as a starting point.

This looks like an interesting project, and I'm also interested in https://github.com/Spooky-Manufacturing/QubitDuino and https://github.com/Spooky-Manufacturing/8Q , which I discovered when looking for DIY optical computing projects.

This PR is really a check to see whether these projects are still active, and to find out the current status :)

Hopefully, if all is well, and this PR is useful, I can keep going with Python linting changes and look at tests etc.

FWIW, I was able to run the existing tests as follows:

from QEDA/src

These pass:

 python3 -m tests.lexer_tests
 python3 -m tests.parser_tests 

This is empty:

python3 -m tests.cli_tests

and these have issue with imports:

python3 -m tests.gate_maker_tests
python3 -m tests.qast_tests

@hornc hornc changed the title Style changes per Flake8 Begin code tidy, per Flake8 Mar 4, 2021
@NoahGWood NoahGWood merged commit f9e6809 into Spooky-Manufacturing:master Mar 10, 2021
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.

2 participants