summaryrefslogtreecommitdiff
path: root/pep8.py
Commit message (Collapse)AuthorAgeFilesLines
* Reduce calls to sys.stdout.flush() from 3 to 1; issue #363Ian Lee2015-01-121-9/+8
|
* sys.stdout.flush() to avoid broken line.INADA Naoki2014-12-271-0/+9
|
* Merge pull request #360 from jcrocholl/issue-316Ian Lee2014-12-221-1/+1
|\ | | | | Add E121 and E126 to the DEFAULT_IGNORE list
| * Update DEFAULT_IGNORE to add E121 & E126 per discussion in issues #256 #316Ian Lee2014-12-171-1/+1
| |
* | Specify the default ignore list in the help options.Ian Lee2014-12-221-1/+2
| |
* | Update E402 error message emittedIan Lee2014-12-201-1/+1
| |
* | Allow try/except/else/finally keywords intermixed with imports. #304Ian Lee2014-12-201-6/+9
| | | | | | | | | | * This allows use of conditional imports. * Also move `__version__` definition to conform with this rule.
* | Do not skip physical checks if the newline is escaped; issue #319issue319Florent Xicluna2014-12-181-7/+5
| |
* | Merge pull request #354 from jcrocholl/feature292Ian Lee2014-12-181-1/+1
|\ \ | |/ |/| Looks good!
| * Do not enforce whitespaces around ** operator; issue #292feature292Florent Xicluna2014-12-161-1/+1
| |
* | Merge branch fixing issues #330 and #336Florent Xicluna2014-12-171-11/+7
|\ \
| * | Fix false positive E713; issue #330issue336Florent Xicluna2014-12-161-1/+1
| | |
| * | Fix false positive E711/E712; issue #336Florent Xicluna2014-12-161-10/+6
| |/
* | This appears to fix #323Ian Cordasco2014-12-171-1/+1
|/ | | | I am very skeptical of this though
* Catch import errors thrown by os.path.expanduser(); issue #297Ian Lee2014-12-161-5/+9
| | | | * This can happen particularly with AppEngine when importing pwd
* Fix definition of isidentifier in Python 2Florent Xicluna2014-12-161-1/+1
|
* Fix too long line introducing E501 errorIan Lee2014-12-151-1/+2
|
* Replace the IDENTIFIER_REGEX with the isidentifier functionFlorent Xicluna2014-12-161-5/+5
|
* Merge pull request #312 from sigmavirus24/bug/311Florent Xicluna2014-12-161-1/+4
|\ | | | | Fix #311. Add regex to check for field assignment
| * Update fix for E731Ian Cordasco2014-08-081-2/+2
| | | | | | | | Thanks to @mypalmike for thinking of the extra cases
| * Fix #311. Add regex to check for field assignmentIan Cordasco2014-08-071-1/+4
| |
* | Rename check to signify that it applies to module level imports only; issue #304Ian Lee2014-12-141-1/+2
| |
* | Merge remote-tracking branch 'yole/import-on-top-of-file' into issue304Ian Lee2014-12-141-0/+55
|\ \
| * | Report E402 for imports not on top of file; issue #264. Also add ability to ↵Dmitry Jemerov2014-07-241-0/+55
| |/ | | | | | | keep local state for each checker plugin. #ep14boat
* | Merge pull request #340 from bdkearns/masterIan Lee2014-12-131-1/+1
|\ \ | | | | | | Merged, thanks!
| * | add .tox to DEFAULT_EXCLUDEBrian Kearns2014-10-231-1/+1
| |/
* | Merge pull request #347 from helenst/e711-reverse-comparisonIan Lee2014-12-131-4/+12
|\ \ | | | | | | Looks good, thanks!
| * | Fixed operator check for E711/E712 (Ref #307)Helen ST2014-12-111-1/+1
| | |
| * | E711 / E712 checks test for None != arg and False == argHelen ST2014-12-111-4/+12
| |/ | | | | | | (Fixes #307)
* | Don't crash if build_tokens_line() returns None; issue #306Ian Lee2014-12-131-0/+4
| |
* | Merge branch 'willkg:normalize_path_fix'Ian Lee2014-12-131-1/+4
|\ \ | | | | | | | | | Pull request #343, Issues #339 / #343
| * | Fix normalize_paths to allow whitespaceWill Kahn-Greene2014-11-061-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This fixes normalize_paths so that it strips whitespace before and after paths before working on them. This allows you to do specify excludes with multiple lines in the config file. This also tweaks normalize_paths so that the behavior matches the docstring. This also adds tests. Fixes #339
* | Add Ian to list of maintainers.Ian Lee2014-12-131-0/+1
|/
* Do not report E704 in the default configuration; issue #277Florent Xicluna2014-05-291-1/+1
|
* Report E266 instead of E265 when the block common starts with multiple #; ↵Florent Xicluna2014-05-291-4/+7
|\ | | | | | | issue #270
| * Report E266 instead of E265 when the block common starts with multiple #; ↵Florent Xicluna2014-04-261-4/+7
| | | | | | | | issue #270
* | Replace codes E111/2/3 with E114/5/6 for indentation of comments; issue #274Florent Xicluna2014-05-291-5/+10
|\ \
| * | Replace codes E111/2/3 with E114/5/6 for indentation of comments; issue #274Florent Xicluna2014-04-261-5/+10
| |/
* | Add changelog entries for E704 and E731Florent Xicluna2014-05-291-1/+1
| |
* | Report E731 for lambda assignment, return E704 for one-liner def instead of ↵Florent Xicluna2014-05-291-6/+15
|\ \ | | | | | | | | | E701; issue #277
| * | Report E731 for lambda assignment, return E704 for one-liner def instead of ↵Florent Xicluna2014-04-261-6/+15
| |/ | | | | | | E701; issue #277
* | Release version 1.5.71.5.7Florent Xicluna2014-05-291-1/+1
| |
* | Always open files with universal newline flagVladimir Rudnyh2014-05-101-1/+1
| |
* | Check the last line even if it does not end with a NL; issue #286Florent Xicluna2014-05-071-4/+4
| |
* | Do not exit when an option in setup.cfg / tox.ini is not recognizedFlorent Xicluna2014-05-051-4/+3
| |
* | Update pep8.pylordhellcito2014-04-271-1/+1
|/ | | Windows throws an AttributeError exception instead ValueError when calls signal.SIGPIPE.
* Return error code 1 on broken pipe, and restore compatibility with Python 2.5Florent Xicluna2014-04-181-5/+9
|
* Handle broken pipe in check_files()Winston Weinert2014-04-181-0/+4
| | | | | This way partial output (e.g. "pep8 . | head") doesn't get clobbered with a stacktrace on stderr.
* Release version 1.5.61.5.6Florent Xicluna2014-04-141-1/+1
|
* Merge checker W292 with checker W391 for better performanceFlorent Xicluna2014-04-141-12/+10
|