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

async stuff #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

async stuff #11

wants to merge 2 commits into from

Conversation

FlanFlanagan
Copy link
Member

No description provided.

from asyncio.subprocess import create_subprocess_exec
from argparse import ArgumentParser

def make_parser():
Copy link
Member

Choose a reason for hiding this comment

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

PEP8 two blank lines before functions. All throughout this file

pending_tasks.append(sim_task)
i += 1
if len(pending_tasks) > 0:
done, pending_tasks = await asyncio.wait(pending_tasks, return_when=concurrent.futures.FIRST_COMPLETED)
Copy link
Member

Choose a reason for hiding this comment

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

PEP8 line over 80 chars

@scopatz
Copy link
Member

scopatz commented Nov 1, 2017

Generally looks good, but we probably also need some docs for this. Also, maybe we should remove doctr for the PR here and we should probably run the actual tests on circleci

@scopatz
Copy link
Member

scopatz commented Nov 1, 2017

Maybe CI should be in a different PR though?

@FlanFlanagan
Copy link
Member Author

Yeah, CI should probably go in a separate PR. Documentation is the right call though.

@scopatz
Copy link
Member

scopatz commented Nov 8, 2017

Ok, let me know when it is added!

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