summaryrefslogtreecommitdiff
path: root/pyflakes/test/test_script.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename pyflakes.scripts.pyflakes to pyflakes.api.Florent Xicluna2013-01-251-545/+0
|
* Add Python 3 supportFlorent Xicluna2013-01-191-15/+28
|
* Switch to unittest2 for the tests, and run them on Python 2.5Florent Xicluna2013-01-081-131/+100
|
* Duplicate _EverythingGetter, rather than import it.Jonathan Lange2012-10-231-6/+18
|
* Collapse problemDecodingSource and ioError into the one method.Jonathan Lange2012-10-231-30/+10
|
* Explain what's going on.Jonathan Lange2012-10-191-0/+8
|
* Remove unnecessary parensJonathan Lange2012-10-191-1/+1
|
* Change the test assertions to more naturally follow ↵Jonathan Lange2012-10-191-5/+4
| | | | getProcessOutputAndValue's return
* 6 (partial). Use Twisted to spawn the process, not subprocess.Jonathan Lange2012-10-191-8/+30
|
* 6 (partial). Change the integration tests to expect a Deferred from ↵Jonathan Lange2012-10-191-15/+16
| | | | runPyflakes.
* 6 (partial). Contain the poison by returning returncode, out, err from ↵Jonathan Lange2012-10-191-18/+17
| | | | runPyflakes6 (partial). Contain the poison by returning returncode, out, err from runPyflakes6 (partial). Contain the poison by returning returncode, out, err from runPyflakes6 (partial). Contain the poison by returning returncode, out, err from runPyflakes6 (partial). Contain the poison by returning returncode, out, err from runPyflakes6 (partial). Contain the poison by returning returncode, out, err from runPyflakes
* 6 (partial). Rename 'popenPyflakes' to 'runPyflakes'.Jonathan Lange2012-10-191-5/+9
|
* 4. Add a bunch of docstrings.Jonathan Lange2012-10-191-0/+20
|
* 3. Use FilePath rather than os.path (in tests)Jonathan Lange2012-10-191-9/+8
|
* 0. Move Reporter to new module, pyflakes.reporter.Jonathan Lange2012-10-191-1/+1
|
* A swag of integration tests.Jonathan Lange2012-07-081-0/+81
|
* Split out the bit that checks recursively.Jonathan Lange2012-07-081-0/+24
|
* Make iterSourceCode take many paths.Jonathan Lange2012-07-081-4/+35
|
* Initial thing to iterate of source code.Jonathan Lange2012-07-081-1/+58
|
* WhitespaceJonathan Lange2012-07-081-0/+5
|
* Report flakes from the reporter too.Jonathan Lange2012-07-061-1/+16
|
* Add flake reporting.Jonathan Lange2012-07-061-5/+15
|
* Handle multiple lines in the reporter.Jonathan Lange2012-07-061-8/+30
| | | | Restore the multi-line test to chheck output, just in case.
* More tests using reporter.Jonathan Lange2012-07-061-7/+11
|
* Start to factor the tests so they assert against the data in the reporterJonathan Lange2012-07-061-2/+26
| | | | rather than the format of the results.
* Add ioError.Jonathan Lange2012-07-061-0/+16
|
* Bazaar for the first time ever ate my changes. This commit collapses the ↵Jonathan Lange2012-07-061-60/+105
| | | | | | | | | | | | | history for: - refactoring the tests - new assertion method - withStderr thingy taking *args rather than lambda - wrapper around creating temporary file with content - new reporter class with tests - actually using it in tree - adding a bunch of tests.
* Merge pyflakes-encoding-problem-2842-2exarkun2009-06-171-0/+18
| | | | | | | | Author: chaica, exarkun Reviewer: radix Fixes: #2842 Handle errors in the encoding of a source file.
* Merge pyflakes-permission-denied-2841exarkun2009-06-171-3/+16
| | | | | | | | Author: exarkun Reviewer: jonathanj Fixes: #2841 Handle permission errors when trying to read source files.
* Provide line numbers via compilation when pyflakes gets `SyntaxError`s from ↵glyph2009-03-271-0/+46
| | | | | | | | | | | | parsing which do not include line numbers. Author: dreid Reviewer: glyph Fixes #2832 More specifically, this fixes the bug where pyflakes/flymake integration would crash when the user typed a keyword argument before the argument list.
* Merge multiline-syntax-error-2821exarkun2009-01-281-0/+60
| | | | | | | | | Author: exarkun Reviewer: dreid Fixes: #2821 Handle `SyntaxError`s raised from `compiler.parse` which have multiple lines of source text associated with them. Only one line is reported.
* Merge pyflakes-checkPath-2607-2pjd2008-10-011-0/+25
| | | | | | | | | Author: pjd Reviewer: glyph Fixes #2607 This handles non-existent file paths given to pyflakes, by printing a warning instead of raising IOError.
* Merge pyflakes-trailing-whitespace-2663exarkun2008-08-281-0/+23
Author: exarkun Reviewer: pjd Fixes: #2663 Work-around a strangeness in the Python compiler which caused failures on source with trailing whitespace but no trailing newline (by adding a trailing newline). Also, re-organize for the command line `pyflakes` tool into a real module so that it can be properly unit tested.