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

Bug: PyFlake command writes files #24

Open
wolph opened this issue Feb 9, 2016 · 0 comments
Open

Bug: PyFlake command writes files #24

wolph opened this issue Feb 9, 2016 · 0 comments

Comments

@wolph
Copy link

wolph commented Feb 9, 2016

Right now whenever I run PyFlake the file is immediately written to the filesystem, the result is that when I'm simply checking the file it automatically writes to the filesystem which (in the case of syntax errors) results in my development server crashing because it auto-reloads on file changes.

If the command has to write for it to work, can it write to a temporary file instead perhaps?
The better solution would be to pipe the data straight towards the flake8 stdin imho, but not sure if that's too easy to integrate into the current script.

The flake8 command at least supports this using the following syntax:

cat some_python_file.py | flake8 -
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