Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -615/+0 |
| | |||||
* | Fix a false positive with `too-few-format-args` warning. | Claudiu Popa | 2015-01-30 | 1 | -1/+1 |
| | | | | | | | | | The warning was emitted when the string format contained a normal positional argument ('{0}'), mixed with a positional argument which did an attribute access ('{0.__class__}'). Closes issue #463. | ||||
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 1 | -8/+6 |
| | |||||
* | Don't try to analyze string formatting with objects coming from function ↵ | Claudiu Popa | 2014-11-11 | 1 | -6/+3 |
| | | | | arguments. Closes issue #373. | ||||
* | Prefer an isinstance check instead of a hasattr. | Claudiu Popa | 2014-11-04 | 1 | -1/+2 |
| | |||||
* | Move the string parsing inside the try body. | Claudiu Popa | 2014-09-30 | 1 | -1/+1 |
| | | | | | | It seems that _formatter_parser raises ValueError on PyPy, while on CPython it raises the error only when iterating the result. | ||||
* | [refs #351] Handling assignment of the string format method to a variable | carl | 2014-09-27 | 1 | -1/+7 |
| | |||||
* | Change basestring to six.string_types | Brett Cannon | 2014-08-29 | 1 | -3/+6 |
| | |||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -4/+4 |
| | |||||
* | Fix a false positive with 'too-many-format-args', when the format string ↵ | cpopa | 2014-08-27 | 1 | -8/+2 |
| | | | | contains mixed attribute access arguments and manual fields. Closes issue #322. | ||||
* | Fix a false positive with 'too-few-format-args', when the format strings ↵ | cpopa | 2014-08-11 | 1 | -3/+3 |
| | | | | contains duplicate manual position arguments. Closes issue #310. | ||||
* | Cleanup. | cpopa | 2014-08-08 | 1 | -5/+10 |
| | |||||
* | Properly handle unicode format strings for Python 2. Closes issue #296. | cpopa | 2014-08-05 | 1 | -6/+9 |
| | |||||
* | Properly handle nested format string fields. Closes issue #294. | cpopa | 2014-08-04 | 1 | -21/+35 |
| | |||||
* | Analyze only strings by the string format checker. Closes issue #287. | cpopa | 2014-07-31 | 1 | -0/+7 |
| | |||||
* | Handle 'too-few-format-args' or 'too-many-format-args' for format strings ↵ | cpopa | 2014-07-31 | 1 | -0/+16 |
| | | | | with both named and positional fields. Closes issue #286. | ||||
* | Fix a false positive with string formatting checker, when using keyword ↵ | cpopa | 2014-07-29 | 1 | -5/+11 |
| | | | | argument packing. Closes issue #288. | ||||
* | Fix a false positive with string formatting checker, when encountering a ↵ | cpopa | 2014-07-29 | 1 | -10/+13 |
| | | | | string which uses only position-based arguments. Closes issue #285. | ||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -6/+5 |
| | |||||
* | Restore compatibility with Python 2.6. | cpopa | 2014-07-24 | 1 | -6/+12 |
| | |||||
* | Don't use set comprehension. | cpopa | 2014-07-23 | 1 | -4/+4 |
| | |||||
* | Reorder a check for better coherence, fix a couple of docstrings. | cpopa | 2014-06-26 | 1 | -9/+8 |
| | |||||
* | Separate the good cases from the bad cases, improve the messages. | cpopa | 2014-06-26 | 1 | -17/+22 |
| | |||||
* | No need for a deque here. | cpopa | 2014-06-23 | 1 | -8/+3 |
| | |||||
* | Skip nodes with starargs or kwargs for now. | cpopa | 2014-06-16 | 1 | -0/+4 |
| | |||||
* | Filter out non-const nodes. | cpopa | 2014-06-15 | 1 | -0/+2 |
| | |||||
* | Fix a potential crash for accessors like "{0.missing}". | cpopa | 2014-06-15 | 1 | -1/+1 |
| | |||||
* | Filter YES arguments. | cpopa | 2014-06-15 | 1 | -2/+2 |
| | |||||
* | Move the filtering of YES nodes at the beginning of while block. | cpopa | 2014-06-14 | 1 | -2/+3 |
| | |||||
* | Skip YES arguments, add a few test cases. | cpopa | 2014-06-13 | 1 | -0/+2 |
| | |||||
* | Change message ids. | cpopa | 2014-06-08 | 1 | -6/+6 |
| | |||||
* | Small fixes. | cpopa | 2014-06-08 | 1 | -46/+41 |
| | |||||
* | Make sure that split_format_field_names always returns ints instead of longs ↵ | cpopa | 2014-06-08 | 1 | -1/+11 |
| | | | | for Python 2. | ||||
* | Add support for checking attribute and key lookups in string formatting. ↵ | cpopa | 2014-06-08 | 1 | -32/+134 |
| | | | | Improve the string formatting tests. | ||||
* | Drop Python 2.6 support, other minor fixes. | cpopa | 2014-06-07 | 1 | -31/+30 |
| | |||||
* | Merge with default. | cpopa | 2014-06-07 | 1 | -11/+150 |
|\ | |||||
| * | Various changes to format checker. | cpopa | 2013-10-03 | 1 | -9/+47 |
| | | |||||
| * | Proper handling of manual field specifiers. | cpopa | 2013-09-25 | 1 | -4/+6 |
| | | |||||
| * | Add new string format checks. | cpopa | 2013-09-25 | 1 | -0/+26 |
| | | |||||
| * | Bug fix. | cpopa | 2013-09-22 | 1 | -1/+1 |
| | | |||||
| * | Add basic checks for Python 3 format strings. | cpopa | 2013-09-22 | 1 | -11/+84 |
| | | |||||
* | | Do not warn about \u escapes in string literals when Unicode literals | Torsten Marek | 2014-04-18 | 1 | -3/+6 |
| | | | | | | | | are used for Python 2.*. Fixes BitBucket issue #151. | ||||
* | | Raise all messages by name in the strings checkers. | Torsten Marek | 2014-04-04 | 1 | -12/+14 |
| | | |||||
* | | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | | |||||
* | | Fix typos in description messages | cpopa | 2013-12-26 | 1 | -2/+2 |
| | | |||||
* | | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -1/+1 |
|/ | |||||
* | some pylint and style fixes | Sylvain Th?nault | 2013-07-31 | 1 | -1/+1 |
| | |||||
* | Add @check_messages(...) annotations to help not to spend time on unneeded ↵ | Anthony Truchet | 2013-06-18 | 1 | -1/+4 |
| | | | | | | | | checks. We only add such annotations is reasonably simple cases. Some visit methods are quite involved and build a checker's state ; such methods are skipped in the first phase. | ||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -16/+16 |
| | |||||
* | Tokenize the input source only once and hand it to all checkers that need ↵ | Torsten Marek | 2013-05-01 | 1 | -4/+4 |
| | | | | | | | | | the token stream. A lot of checkers need access to the token stream, but they all tokenize the source code again in BaseRawChecker.process_module. This change introduces a new checker type ITokenChecker, for which the token stream is created exactly once in PyLinter, and then injected into all registered checkers. |