summaryrefslogtreecommitdiff
path: root/pyflakes/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings.Adi Roiban2014-04-221-0/+1
|
* Missing file scripts/pyflakes.py in previous changeset.Florent Xicluna2013-01-251-0/+7
|
* Rename pyflakes.scripts.pyflakes to pyflakes.api.Florent Xicluna2013-01-251-121/+0
|
* Remove some extra blank lines, part of Twisted coding standard.Florent Xicluna2013-01-251-3/+0
|
* Add Python 3 supportFlorent Xicluna2013-01-191-5/+7
|
* Use absolute_import.Jonathan Lange2012-10-231-3/+4
|
* Correct coding conventionJonathan Lange2012-10-231-4/+4
|
* Pass unicode Jonathan Lange2012-10-231-1/+1
|
* Collapse problemDecodingSource and ioError into the one method.Jonathan Lange2012-10-231-2/+2
|
* 0. Move Reporter to new module, pyflakes.reporter.Jonathan Lange2012-10-191-75/+4
|
* Do it propertly.Jonathan Lange2012-07-081-3/+12
|
* A swag of integration tests.Jonathan Lange2012-07-081-4/+3
|
* Split out the bit that checks recursively.Jonathan Lange2012-07-081-4/+19
|
* Now we have iterSourceCode instead.Jonathan Lange2012-07-081-9/+2
|
* Make iterSourceCode take many paths.Jonathan Lange2012-07-081-7/+13
|
* Initial thing to iterate of source code.Jonathan Lange2012-07-081-0/+14
|
* Report flakes from the reporter too.Jonathan Lange2012-07-061-1/+1
|
* Add flake reporting.Jonathan Lange2012-07-061-4/+16
|
* Handle multiple lines in the reporter.Jonathan Lange2012-07-061-6/+6
| | | | Restore the multi-line test to chheck output, just in case.
* Pass reporter all the way down.Jonathan Lange2012-07-061-7/+17
|
* Add ioError.Jonathan Lange2012-07-061-1/+9
|
* Bazaar for the first time ever ate my changes. This commit collapses the ↵Jonathan Lange2012-07-061-66/+44
| | | | | | | | | | | | | 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.
* I can't really help this refactoring.Jonathan Lange2012-06-271-9/+21
|
* Twisted naming.Jonathan Lange2012-06-271-6/+11
|
* Extract a reporter that handles all of the output.Jonathan Lange2012-06-271-17/+45
|
* Extract out thing to check files and directories recursively.Jonathan Lange2012-06-271-8/+21
|
* Merge pyflakes-ast-3005exarkun2010-04-131-15/+6
| | | | | | | | | | | | | | | | | | | Author: gbrandl, exarkun Reviewer: exarkun Fixes: #3005 Convert pyflakes to use the Python 2.5+ _ast module instead of the older (now essentially unmaintained) compiler package. Introduce a number of new tests for various edge cases previously untested, as well, since this involved changing substantial chunks of pyflakes internals. Also add support for certain new constructs which will be added in Python 2.7, including set comprehensions and dict comprehensions. Because Python 2.4 does not include the _ast module, this change effectively drops support for running Pyflakes using Python 2.4.
* Merge pyflakes-decoding-2.4-2902exarkun2009-07-061-1/+8
| | | | | | | | | Author: exarkun Reviewer: glyph Fixes: #2902 Handle the `MemoryError` Python 2.4 raises when compiling a string which cannot be decoded according to its declared encoding.
* Merge pyflakes-encoding-problem-2842-2exarkun2009-06-171-7/+27
| | | | | | | | Author: chaica, exarkun Reviewer: radix Fixes: #2842 Handle errors in the encoding of a source file.
* Merge pyflakes-permission-denied-2841exarkun2009-06-171-3/+4
| | | | | | | | Author: exarkun Reviewer: jonathanj Fixes: #2841 Handle permission errors when trying to read source files.
* Merge pyflakes-syntaxerrors-2885exarkun2009-05-211-7/+6
| | | | | | | | | | | Author: exarkun Reviewer: jonathanj Fixes: #2885 Use the builtin compile function to check for syntax errors before trying to construct an ast with the compiler package. The compiler package is less well able to report such errors (in particular, on Python 2.4 and older, it entirely misses some syntax errors).
* Provide line numbers via compilation when pyflakes gets `SyntaxError`s from ↵glyph2009-03-271-10/+18
| | | | | | | | | | | | 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-6/+8
| | | | | | | | | 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-1/+8
| | | | | | | | | 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-282-0/+55
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.