Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use the open() context manager, supported since Python 2.5 | Florent Xicluna | 2014-03-28 | 1 | -13/+9 | |
| | ||||||
* | Minor changes | Florent Xicluna | 2014-03-28 | 1 | -3/+1 | |
| | ||||||
* | Back to development; review some docstrings in relation with PEP 257. | Florent Xicluna | 2014-03-28 | 3 | -144/+90 | |
| | ||||||
* | Release version 1.5.11.5.1 | Florent Xicluna | 2014-03-27 | 2 | -2/+4 | |
| | ||||||
* | Fix a crash with E125 on multi-line strings; closes #263 | Florent Xicluna | 2014-03-27 | 3 | -1/+12 | |
| | ||||||
* | Release version 1.51.5 | Florent Xicluna | 2014-03-26 | 2 | -2/+2 | |
| | ||||||
* | Remove an extra comma in the test | Florent Xicluna | 2014-03-26 | 1 | -1/+1 | |
| | ||||||
* | Ack PyPy SyntaxError | Florent Xicluna | 2014-03-26 | 1 | -2/+9 | |
| | ||||||
* | Add a message for test_check_nullbytes | Florent Xicluna | 2014-03-26 | 1 | -1/+2 | |
| | ||||||
* | Review messages for E713 and E714 | Florent Xicluna | 2014-03-26 | 2 | -7/+5 | |
| | ||||||
* | Report E131 instead of E121 / E126 for unaligned hanging indent | Florent Xicluna | 2014-03-25 | 4 | -9/+26 | |
| | ||||||
* | Merge. Allow long lines in docstrings and comments. | Florent Xicluna | 2014-03-25 | 8 | -22/+148 | |
|\ | | | | | | | | | Allow long lines in multiline strings and comments if they cannot be wrapped; issue #224 Optionally disable physical line checks inside multiline strings, using '# noqa'; issue #242 | |||||
| * | Allow long lines in comments too, with similar rules; related to issue #224 | Florent Xicluna | 2014-03-23 | 4 | -9/+56 | |
| | | ||||||
| * | Merge branch 'master' of https://github.com/gward/pep8 into gward-master | Florent Xicluna | 2014-03-23 | 5 | -14/+98 | |
| |\ | ||||||
| | * | Add one more test case for issue #224 (based on code review) | Greg Ward | 2013-11-17 | 1 | -0/+3 | |
| | | | ||||||
| | * | Make maybe_check_physical() easier to understand (based on code review) | Greg Ward | 2013-11-17 | 1 | -8/+21 | |
| | | | | | | | | | | | | | | | | | | - reorder so common case comes first - rewrite docstring - expand/clarify comments | |||||
| | * | Optionally disable physical line checks inside multiline strings (issue #242) | Greg Ward | 2013-11-08 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | The trick is to attach the "# nopep8" (or "# noqa") comment after the multiline string. In fact, it just has to be on the line that ends the multiline string -- like most other noqa() checks, this is a dumb scan of the physical line, not a fancy token-based check. | |||||
| | * | Allow long lines in multiline strings if they cannot be wrapped (issue #224). | Greg Ward | 2013-11-08 | 2 | -1/+20 | |
| | | | ||||||
| | * | Fix an incorrect "W391 blank line at EOF" | Greg Ward | 2013-11-08 | 2 | -6/+12 | |
| | | | | | | | | | | | | | | | | | | It only happens when there is a multiline string at EOF that happens to contain a blank line. Introduced by my special treatment of multiline strings. | |||||
| | * | Check physical lines after tokenizing them. | Greg Ward | 2013-11-08 | 1 | -15/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it possible to treat physical lines in multiline strings distinctly, e.g. for issue #224 and #242 (not addressed yet; this is just a prerequisite). Details: - readline_check_physical() is gone: now we only need readline() - but now setting self.indent_char in check_physical() comes too late, so move that side effect up to readline() - add maybe_check_physical() to decide after every token if it's time to check physical lines and, if so, do it | |||||
| | * | Add some test cases for multiline strings. | Greg Ward | 2013-11-08 | 3 | -0/+19 | |
| | | | | | | | | | | | | | | | Since I'm about to add special treatment of multiline strings, I thought it best to ensure that we preserve the existing behaviour. | |||||
* | | | Separate Changes and Bug fixes in the changelog | Florent Xicluna | 2014-03-25 | 2 | -3/+11 | |
| | | | ||||||
* | | | Clarify E121 and E126 for hanging indents, and reports all over-indented ↵ | Florent Xicluna | 2014-03-25 | 4 | -9/+16 | |
| | | | | | | | | | | | | continuation lines under E126. | |||||
* | | | Merge, add E265 for space before block comment; issue #190 | Florent Xicluna | 2014-03-25 | 7 | -19/+69 | |
|\ \ \ | ||||||
| * | | | More tests for E265 with the shebang | Florent Xicluna | 2013-05-02 | 1 | -0/+6 | |
| | | | | ||||||
| * | | | Fix tests on Python 2.5 | Florent Xicluna | 2013-05-02 | 1 | -0/+2 | |
| | | | | ||||||
| * | | | Add tests for E265 | Florent Xicluna | 2013-05-01 | 1 | -1/+18 | |
| | | | | ||||||
| * | | | Add E265 for space before block comment; issue #190 | Florent Xicluna | 2013-05-01 | 6 | -18/+43 | |
| | | | | ||||||
* | | | | Merge branch 'master' into issue126 | Florent Xicluna | 2014-03-25 | 23 | -242/+692 | |
|\ \ \ \ | ||||||
| * | | | | Catch more E713 and E714 with a regular expression; issue #236 continued | Florent Xicluna | 2014-03-25 | 3 | -36/+63 | |
| | | | | | ||||||
| * | | | | Merge pull request #260 from chrismedrela/ticket236 | Florent Xicluna | 2014-03-24 | 2 | -0/+39 | |
| |\ \ \ \ | | | | | | | | | | | | | Fixed #236 -- added checks for 'not X in L' and 'not X is Y' | |||||
| | * | | | | Fixed #236 -- added checks for 'not X in L' and 'not X is Y' | Christopher Medrela | 2013-10-27 | 2 | -0/+39 | |
| | | |_|/ | | |/| | | ||||||
| * | | | | Relax a bit the regex for W602, 3-arguments raise; closes #34 | Florent Xicluna | 2014-03-24 | 3 | -1/+4 | |
| | | | | | ||||||
| * | | | | A false positivee E126 when indenting with tabs; closes #204 | Florent Xicluna | 2014-03-24 | 4 | -6/+41 | |
| | | | | | ||||||
| * | | | | Minor change in previous patch | Florent Xicluna | 2014-03-24 | 1 | -3/+1 | |
| | | | | | ||||||
| * | | | | Merge pull request #227 from solj/disable-w601 | Florent Xicluna | 2014-03-24 | 1 | -1/+3 | |
| |\ \ \ \ | | | | | | | | | | | | | Allow disable of W601 | |||||
| | * | | | | Allow disable of W601 | Sol Jerome | 2013-09-05 | 1 | -1/+3 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While has_key no longer exists for python 3, there are still libraries which have this method and do not allow for 'key in dict'. This enables the "nopep8/noqa" methods of disabling the warning per-line. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | |||||
| * | | | | A false positive E126 with embedded colon; fixes #144 | Florent Xicluna | 2014-03-24 | 5 | -7/+17 | |
| | | | | | ||||||
| * | | | | Avoid printing errors twice | Florent Xicluna | 2014-03-24 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Do not report multiple E101 if only one line starts with a tab; issue #237 | Florent Xicluna | 2014-03-24 | 4 | -1/+29 | |
| | | | | | ||||||
| * | | | | Improve the test framework to count the errors, motivated by issue #237 | Florent Xicluna | 2014-03-24 | 9 | -34/+41 | |
| | | | | | ||||||
| * | | | | Improve fix for issue #247, relative path not always start with ./ | Florent Xicluna | 2014-03-24 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Added a test from issue #215 | Florent Xicluna | 2014-03-24 | 1 | -0/+3 | |
| | | | | | ||||||
| * | | | | Inacurracy in the documentation of the ignore option | Florent Xicluna | 2014-03-24 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | The logical checks can return None; issue #250 | Florent Xicluna | 2014-03-24 | 2 | -3/+6 | |
| | | | | | ||||||
| * | | | | Fix usage of in the project config file; issue #247 | Florent Xicluna | 2014-03-24 | 2 | -3/+24 | |
| | | | | | ||||||
| * | | | | Fix a false positive E124 for hanging indent: issue #254 | Florent Xicluna | 2014-03-23 | 4 | -9/+54 | |
| | | | | | ||||||
| * | | | | Revert previous change and fix the 'paths' keyword argument instead; fixes #246 | Florent Xicluna | 2014-03-23 | 3 | -9/+13 | |
| | | | | | ||||||
| * | | | | Merge pull request #259 from kynan/259-optional-argument-arglist-for-styleguide | Florent Xicluna | 2014-03-23 | 1 | -1/+2 | |
| |\ \ \ \ | | | | | | | | | | | | | StyleGuide accepts optional keyword argument arglist | |||||
| | * | | | | StyleGuide accepts optional keyword argument arglist | Florian Rathgeber | 2014-03-23 | 1 | -1/+2 | |
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | If given, arglist is passed on to process_options. This allows specifying a non-empty argument list when using pep8 as a library where command line arguments are not parsed. |