summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release version 1.3.1.3Florent Xicluna2012-06-154-12/+29
|
* TestReport output.Florent Xicluna2012-06-151-16/+17
|
* Fix NameError.Florent Xicluna2012-06-151-1/+1
|
* Method 'print_results' for the TestReport.Florent Xicluna2012-06-151-13/+15
|
* Move the testing framework out of the main API; add docstrings to the public ↵Florent Xicluna2012-06-151-127/+140
| | | | methods.
* Replace the property 'result' with a method 'get_result()', easier to overload.Florent Xicluna2012-06-151-3/+2
|
* Review the E12 checks.Florent Xicluna2012-06-154-73/+64
|
* Further refactoring.Florent Xicluna2012-06-141-29/+10
|
* Add BaseReport.result property to allow to overwrite what is returned by ↵Florent Xicluna2012-06-141-2/+6
| | | | Checker.check_all().
* Add changelog entry for issue #78.Florent Xicluna2012-06-141-0/+2
|
* Refactor the check_all() method and the blank_lines counting.Florent Xicluna2012-06-141-38/+34
|
* Minor update of the README.Florent Xicluna2012-06-141-8/+4
|
* Use features of Python 2.5 and refactor a little bit.Florent Xicluna2012-06-141-70/+39
|
* Prune unsupported versions from Makefile.Florent Xicluna2012-06-131-10/+1
|
* Update setup.pyFlorent Xicluna2012-06-131-8/+4
|
* Code reviewFlorent Xicluna2012-06-131-13/+8
|
* Fix confusions between E123 and E124.Florent Xicluna2012-06-133-24/+48
|
* Reuse the helper filename_match.Florent Xicluna2012-06-131-6/+3
|
* Show also the errors in the diff context. Pass the option '--unified 0' to ↵Florent Xicluna2012-06-131-11/+8
| | | | the diff or VCS program to keep the previous behaviour.
* Fix false positive E121 and E127 for prefixed string literals.Florent Xicluna2012-06-132-1/+25
|
* Fix testsuite not reporting failure count in some cases.Florent Xicluna2012-06-131-0/+1
|
* Accept the path of the parent directory with the `--diff` option; fix ↵Florent Xicluna2012-06-131-7/+13
| | | | decoding stdin buffer with Python3.
* Rename method BaseReport.increment_logical_line().Florent Xicluna2012-06-131-2/+2
|
* Rename BasicReport to BaseReport.Florent Xicluna2012-06-131-5/+5
|
* Do not expect arguments after --diff.Florent Xicluna2012-06-131-1/+1
|
* Fix the --doctest optionFlorent Xicluna2012-06-131-2/+2
|
* Fix options processing.Florent Xicluna2012-06-131-12/+12
|
* Restore the command line. (Closes #77)Florent Xicluna2012-06-131-7/+8
|
* Implement `--diff` to receive a unidiff on STDIN and report errors on ↵Florent Xicluna2012-06-133-15/+73
| | | | modified code only. (Closes #39)
* The report initialization belongs to the report.Florent Xicluna2012-06-121-13/+14
|
* Fix error in pep8.py, move a method.Florent Xicluna2012-06-121-9/+10
|
* Reserve the FileReport for the script mode; honour the quiet=True argument ↵Florent Xicluna2012-06-121-7/+9
| | | | when using the library.
* Missing attribute 'lines' on the reporter class.Florent Xicluna2012-06-121-2/+3
|
* Forgot to mention issue #35 in the CHANGES.txt.Florent Xicluna2012-06-121-1/+1
|
* Break backwards compatibility: replace global configuration with a new ↵Florent Xicluna2012-06-122-323/+409
| | | | StyleGuide class. (Closes #66)
* Add line to CHANGES.txtFlorent Xicluna2012-06-101-0/+2
|
* Only 'options' is a global variable.Florent Xicluna2012-06-101-3/+2
|
* Optimize the expand_indent helper when code is PEP8 compliant.Florent Xicluna2012-06-101-0/+2
|
* Fix E125 in pep8.py itself.Florent Xicluna2012-06-101-3/+3
|
* Merge pull request #74 from samv/masterFlorent Xicluna2012-06-103-7/+91
|\ | | | | Various fixes for E127 / E128 problems
| * Don't set indent[-1]Sam Vilain2012-06-061-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) workSam Vilain2012-06-062-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 indentSam Vilain2012-06-062-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 levelSam Vilain2012-06-063-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 tokensSam Vilain2012-06-063-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 Xicluna2012-06-043-1/+6
|
* Add codes to all docstrings for find_checks() to selectively ignore checkers.Florent Xicluna2012-06-031-6/+20
|
* Line too long.Florent Xicluna2012-06-031-2/+3
|
* Report successive E24 on the same logical line. Closes #71.Florent Xicluna2012-06-031-11/+11
|
* Fix regression when rewriting E251. Closes #70.Florent Xicluna2012-06-032-1/+3
|