Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release version 1.3.1.3 | Florent Xicluna | 2012-06-15 | 4 | -12/+29 |
| | |||||
* | TestReport output. | Florent Xicluna | 2012-06-15 | 1 | -16/+17 |
| | |||||
* | Fix NameError. | Florent Xicluna | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | Method 'print_results' for the TestReport. | Florent Xicluna | 2012-06-15 | 1 | -13/+15 |
| | |||||
* | Move the testing framework out of the main API; add docstrings to the public ↵ | Florent Xicluna | 2012-06-15 | 1 | -127/+140 |
| | | | | methods. | ||||
* | Replace the property 'result' with a method 'get_result()', easier to overload. | Florent Xicluna | 2012-06-15 | 1 | -3/+2 |
| | |||||
* | Review the E12 checks. | Florent Xicluna | 2012-06-15 | 4 | -73/+64 |
| | |||||
* | Further refactoring. | Florent Xicluna | 2012-06-14 | 1 | -29/+10 |
| | |||||
* | Add BaseReport.result property to allow to overwrite what is returned by ↵ | Florent Xicluna | 2012-06-14 | 1 | -2/+6 |
| | | | | Checker.check_all(). | ||||
* | Add changelog entry for issue #78. | Florent Xicluna | 2012-06-14 | 1 | -0/+2 |
| | |||||
* | Refactor the check_all() method and the blank_lines counting. | Florent Xicluna | 2012-06-14 | 1 | -38/+34 |
| | |||||
* | Minor update of the README. | Florent Xicluna | 2012-06-14 | 1 | -8/+4 |
| | |||||
* | Use features of Python 2.5 and refactor a little bit. | Florent Xicluna | 2012-06-14 | 1 | -70/+39 |
| | |||||
* | Prune unsupported versions from Makefile. | Florent Xicluna | 2012-06-13 | 1 | -10/+1 |
| | |||||
* | Update setup.py | Florent Xicluna | 2012-06-13 | 1 | -8/+4 |
| | |||||
* | Code review | Florent Xicluna | 2012-06-13 | 1 | -13/+8 |
| | |||||
* | Fix confusions between E123 and E124. | Florent Xicluna | 2012-06-13 | 3 | -24/+48 |
| | |||||
* | Reuse the helper filename_match. | Florent Xicluna | 2012-06-13 | 1 | -6/+3 |
| | |||||
* | Show also the errors in the diff context. Pass the option '--unified 0' to ↵ | Florent Xicluna | 2012-06-13 | 1 | -11/+8 |
| | | | | the diff or VCS program to keep the previous behaviour. | ||||
* | Fix false positive E121 and E127 for prefixed string literals. | Florent Xicluna | 2012-06-13 | 2 | -1/+25 |
| | |||||
* | Fix testsuite not reporting failure count in some cases. | Florent Xicluna | 2012-06-13 | 1 | -0/+1 |
| | |||||
* | Accept the path of the parent directory with the `--diff` option; fix ↵ | Florent Xicluna | 2012-06-13 | 1 | -7/+13 |
| | | | | decoding stdin buffer with Python3. | ||||
* | Rename method BaseReport.increment_logical_line(). | Florent Xicluna | 2012-06-13 | 1 | -2/+2 |
| | |||||
* | Rename BasicReport to BaseReport. | Florent Xicluna | 2012-06-13 | 1 | -5/+5 |
| | |||||
* | Do not expect arguments after --diff. | Florent Xicluna | 2012-06-13 | 1 | -1/+1 |
| | |||||
* | Fix the --doctest option | Florent Xicluna | 2012-06-13 | 1 | -2/+2 |
| | |||||
* | Fix options processing. | Florent Xicluna | 2012-06-13 | 1 | -12/+12 |
| | |||||
* | Restore the command line. (Closes #77) | Florent Xicluna | 2012-06-13 | 1 | -7/+8 |
| | |||||
* | Implement `--diff` to receive a unidiff on STDIN and report errors on ↵ | Florent Xicluna | 2012-06-13 | 3 | -15/+73 |
| | | | | modified code only. (Closes #39) | ||||
* | The report initialization belongs to the report. | Florent Xicluna | 2012-06-12 | 1 | -13/+14 |
| | |||||
* | Fix error in pep8.py, move a method. | Florent Xicluna | 2012-06-12 | 1 | -9/+10 |
| | |||||
* | Reserve the FileReport for the script mode; honour the quiet=True argument ↵ | Florent Xicluna | 2012-06-12 | 1 | -7/+9 |
| | | | | when using the library. | ||||
* | Missing attribute 'lines' on the reporter class. | Florent Xicluna | 2012-06-12 | 1 | -2/+3 |
| | |||||
* | Forgot to mention issue #35 in the CHANGES.txt. | Florent Xicluna | 2012-06-12 | 1 | -1/+1 |
| | |||||
* | Break backwards compatibility: replace global configuration with a new ↵ | Florent Xicluna | 2012-06-12 | 2 | -323/+409 |
| | | | | StyleGuide class. (Closes #66) | ||||
* | Add line to CHANGES.txt | Florent Xicluna | 2012-06-10 | 1 | -0/+2 |
| | |||||
* | Only 'options' is a global variable. | Florent Xicluna | 2012-06-10 | 1 | -3/+2 |
| | |||||
* | Optimize the expand_indent helper when code is PEP8 compliant. | Florent Xicluna | 2012-06-10 | 1 | -0/+2 |
| | |||||
* | Fix E125 in pep8.py itself. | Florent Xicluna | 2012-06-10 | 1 | -3/+3 |
| | |||||
* | Merge pull request #74 from samv/master | Florent Xicluna | 2012-06-10 | 3 | -7/+91 |
|\ | | | | | Various fixes for E127 / E128 problems | ||||
| * | Don't set indent[-1] | Sam Vilain | 2012-06-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | While running this code in the debugger, I noticed that this loop, which claims to operate on parent indents, affects indent[0] when a continuation line with a backslash is seen. This bug doesn't appear to cause a real issue, but I reservedly fix it. | ||||
| * | make multi-line STRING % (foo, bar) work | Sam Vilain | 2012-06-06 | 2 | -2/+15 |
| | | | | | | | | | | | | There was existing support for placing a single format parameter on the next line, aligned with the start of the string. This extends this support to include multiple format parameters. | ||||
| * | Add some more tests for multi-line string continuation indent | Sam Vilain | 2012-06-06 | 2 | -0/+17 |
| | | | | | | | | | | | | A few important test cases for the code which permits an initial indent for a continued string to not match that of the logical indent level. While I was mucking around with the code, I found these useful. | ||||
| * | Make E127/E128 stricter about what defines a new level | Sam Vilain | 2012-06-06 | 3 | -14/+21 |
| | | | | | | | | | | | | | | | | The current code which permits tokens to be indented to match tokens on previous lines was a bit too permissive; any token which happened to line up with any previous token at all on the previous line was allowed; when really, this only makes sense for homogenous tokens and multi-line strings. | ||||
| * | Relax E127/E128 for aligned homogenous tokens | Sam Vilain | 2012-06-06 | 3 | -2/+49 |
|/ | | | | | | | | | | | | | | | When using visual indenting, there is a tendency to communicate through 'interpretive dance', which is an affectionate name I have for arbitrary extra whitespace inserted to visually communicate 'something' to the reader. The examples in the test suite all start with a token which matches the same token on the previous line. This new rule permits indents to a matching level as a token on the previous line, but only if the tokens are the same. Add some tests to show the quirks with the current rule, which allows the first visual indent line to align with any token whatsoever. | ||||
* | Fix E225 for Python 3. Closes #72. | Florent Xicluna | 2012-06-04 | 3 | -1/+6 |
| | |||||
* | Add codes to all docstrings for find_checks() to selectively ignore checkers. | Florent Xicluna | 2012-06-03 | 1 | -6/+20 |
| | |||||
* | Line too long. | Florent Xicluna | 2012-06-03 | 1 | -2/+3 |
| | |||||
* | Report successive E24 on the same logical line. Closes #71. | Florent Xicluna | 2012-06-03 | 1 | -11/+11 |
| | |||||
* | Fix regression when rewriting E251. Closes #70. | Florent Xicluna | 2012-06-03 | 2 | -1/+3 |
| |