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

Run flake8 without subprocess. #15

Open
seanfisk opened this issue Jun 28, 2013 · 1 comment
Open

Run flake8 without subprocess. #15

seanfisk opened this issue Jun 28, 2013 · 1 comment

Comments

@seanfisk
Copy link
Owner

Flake8 now offers a much-improved interface and it shouldn't be necessary to subprocess for it anymore.

@seanfisk
Copy link
Owner Author

Although the interface has improved, I'm still not sure it's possible to do this without some hackery. They do have a main() function now, but it still doesn't accept arguments. This is possibly because it depends on pep8 and pyflakes and they might not offer great interfaces either.

I would guess the only way to do it without subprocess would be to manually override sys.argv, which has trouble written all over it. Since the current subprocess approach does work, I'm going to put this on the shelf for a while.

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

No branches or pull requests

1 participant