[code-quality] check for files with bad styles

2014-12-12 Thread Juan BC
i actually writing a test case who check code style with flake8 i interested in retrieve only the name of the files with errors not the error itself, so after some research i trying to capture the stdout of flake8 and write the next code out, err = sys.stdout, sys.stderr dummy = StringIO() sys.st

[code-quality] check for files with bad styles

2014-12-12 Thread Juan BC
i actually writing a test case who check code style with flake8 i interested in retrieve only the name of the files with errors not the error itself, so after some research i trying to capture the stdout of flake8 and write the next code out, err = sys.stdout, sys.stderr dummy = StringIO() sy