Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add missing changelog entry | Claudiu Popa | 2018-07-17 | 1 | -0/+4 | |
| | ||||||
* | Include the type of the next branch in `no-else-return` | Claudiu Popa | 2018-07-17 | 2 | -4/+8 | |
| | | | | Close #2295 | |||||
* | Drop the parens from the sum() call as they are not needed | Claudiu Popa | 2018-07-17 | 1 | -2/+2 | |
| | ||||||
* | 2.0 release notes spelling and grammar fixes (#2307) | Ville Skyttä | 2018-07-17 | 1 | -3/+3 | |
| | ||||||
* | Remove the maximum length from the style regular expressions (#2290) | SergeyKosarchuk | 2018-07-17 | 8 | -19/+25 | |
| | | | Close #2047 | |||||
* | Remove old note | Claudiu Popa | 2018-07-15 | 1 | -6/+0 | |
| | ||||||
* | Remove the dev prefixpylint-2.0 | Claudiu Popa | 2018-07-15 | 1 | -1/+1 | |
| | ||||||
* | Update copyright notices | Claudiu Popa | 2018-07-15 | 91 | -102/+301 | |
| | ||||||
* | Validate that the next() builtin is called when looking for ↵ | Claudiu Popa | 2018-07-15 | 2 | -0/+15 | |
| | | | | stop-iteration-return, and ignore attributes named the same | |||||
* | Prevent an InferenceError raised when inferring a property that raises an ↵ | Claudiu Popa | 2018-07-15 | 2 | -3/+14 | |
| | | | | exception | |||||
* | Ignore the test directory from CPython as that might have invalid files | Claudiu Popa | 2018-07-15 | 1 | -1/+1 | |
| | ||||||
* | Prepare the release | Claudiu Popa | 2018-07-15 | 2 | -3/+2 | |
| | ||||||
* | Documentation fixes for the release and add Nick as a contributor | Claudiu Popa | 2018-07-15 | 2 | -43/+56 | |
| | ||||||
* | Control the maximum number of inference values from pylint with ↵ | Claudiu Popa | 2018-07-15 | 1 | -0/+7 | |
| | | | | --limit-inference-results | |||||
* | Fix incorrect hanging indent detection for with statements | Bryce Guinta | 2018-07-15 | 4 | -3/+20 | |
| | | | | | | | | Add with statement to recognized token keywords for format checker. Also recognize with statement as the start of a block to allow deeper indentation for hanging continuation Close #461 | |||||
* | Add docstring to _hanging_indent_after_bracket | Bryce Guinta | 2018-07-15 | 1 | -1/+10 | |
| | ||||||
* | Rename pos to position to keep naming consistent | Bryce Guinta | 2018-07-15 | 1 | -6/+6 | |
| | ||||||
* | Fix lint error | Bryce Guinta | 2018-07-13 | 1 | -0/+2 | |
| | | | | astroid incorrectly inferring NoneType because of name reassignment | |||||
* | Disable false-positive test message from changes in astroid | Bryce Guinta | 2018-07-13 | 2 | -1/+2 | |
| | ||||||
* | Do not try to lower checker name if not set | Bryce Guinta | 2018-07-13 | 1 | -1/+2 | |
| | ||||||
* | Return early when possible in typecheck call visitor | Nick Drozd | 2018-07-13 | 1 | -19/+21 | |
| | | | | This avoids doing unnecessary work in many cases. | |||||
* | Avoid ancestors call in ABC check if possible | Nick Drozd | 2018-07-13 | 1 | -3/+10 | |
| | ||||||
* | Return early to avoid some nodes_of_class calls | Nick Drozd | 2018-07-13 | 1 | -0/+7 | |
| | ||||||
* | Drop the universal flag, we're only running on Python 3. Close #592 | Claudiu Popa | 2018-07-13 | 1 | -3/+0 | |
| | ||||||
* | Fix false positive unused-variable in lambda default arguments (#2276) | Bryce Guinta | 2018-07-12 | 6 | -7/+16 | |
| | | | | | | | | | | The NameConsumer to_consume frame needed to be backed out by one so that for lambda bound default argument variables (closure) could consume the name in a higher scope (just like function default arguments) Close #1921 Close #1552 Close #1099 Close #210 | |||||
* | Fix false-postive undefined-variable in nested lambda. (#2274) | Bryce Guinta | 2018-07-12 | 4 | -1/+19 | |
| | | | | | Remove unnecessary break in checker utils for lambdas causing parent lambdas to be ignored. Close #760 | |||||
* | Refactor duplicate code in is_defined_before | Bryce Guinta | 2018-07-11 | 1 | -5/+1 | |
| | | | | isinstance can take multiple tuples | |||||
* | Remove CODEOWNERS: good idea, but cannot realistically review every PR | Claudiu Popa | 2018-07-11 | 1 | -2/+0 | |
| | ||||||
* | Fix lint error | Claudiu Popa | 2018-07-11 | 1 | -1/+1 | |
| | ||||||
* | frozenset is an iterating context for dict.values() and friends | Claudiu Popa | 2018-07-10 | 1 | -1/+1 | |
| | ||||||
* | `trailing-comma-tuple` can be emitted for `return` statements as well. | Claudiu Popa | 2018-07-10 | 4 | -1/+15 | |
| | | | | Close #2269 | |||||
* | Filter with should_analyze_file in parallel mode (#2264) | Randall Leeds | 2018-07-10 | 2 | -14/+21 | |
| | | | | | | | | | | Each ChildLinter receives a file path and instantiates a linter to check that file. As such, all files are arguments to child linters in parallel mode. Therefore, the check for should_analyze_file must happen in the parent linter, where knowledge of the original arguments is available. Expand the custom should_analyze_file test to exercise parallel mode. Close #1885 | |||||
* | Infer the value of the truth_value before looking for consider-using-ternary ↵ | Claudiu Popa | 2018-07-08 | 3 | -4/+18 | |
| | | | | | | | | | | and simplifiable-boolean-expression The reason for that is that a Name node, for instance, will not have a bool_value() implementation, thus it will default to returning Uninferable. In order to avoid that, just infer the object before verifying anything about it. Related to #2058 | |||||
* | Do not emit consider-using-ternary when all the elements involved are a ↵ | Claudiu Popa | 2018-07-08 | 2 | -0/+6 | |
| | | | | Compare node (might not be simplifiable to a ternary). | |||||
* | Remove test that spends more than 60 seconds to run. | Claudiu Popa | 2018-07-06 | 2 | -12613/+0 | |
| | ||||||
* | Fix test errors from fixing astroid.as_string() | Bryce Guinta | 2018-07-06 | 6 | -12/+12 | |
| | ||||||
* | Check Slice is type index (fix #2252) | Konstantin Manna | 2018-07-05 | 2 | -0/+4 | |
| | ||||||
* | Use code block for preview release (#2257) | Steven M. Vascellaro | 2018-07-05 | 1 | -2/+2 | |
| | ||||||
* | Prepare a new dev release | Claudiu Popa | 2018-07-05 | 1 | -1/+1 | |
| | ||||||
* | Emit consider-using-get only if the target is a Name, as this is the pattern ↵ | Claudiu Popa | 2018-07-05 | 2 | -0/+8 | |
| | | | | | | we try to detect Close #2254 | |||||
* | Fix lint | Claudiu Popa | 2018-07-04 | 1 | -1/+3 | |
| | ||||||
* | Only accept simple for-loop bodies when looking for consider-using-join | Claudiu Popa | 2018-07-04 | 2 | -5/+17 | |
| | | | | | | Also verify that the assignment targets are actually AssignName Close #2250 | |||||
* | Add note about prerelease in readme and github template (#2248) | Bryce Guinta | 2018-07-04 | 2 | -0/+11 | |
| | | | | | | * Add note about preview release in github template * Add note about preview release supporting 3.7 in readme | |||||
* | Fix wrong continued indentation (bad-continuation) (#2244) | Steven M. Vascellaro | 2018-07-03 | 1 | -6/+2 | |
| | | | Fixes a pylint warning for wrong continued indentation (bad-continuation) | |||||
* | Add docstrings for naming style classes (#2245) | Steven M. Vascellaro | 2018-07-03 | 1 | -0/+4 | |
| | | | Add docstrings for SnakeCaseStyle, CamelCaseStyle, PascalCaseStyle, and UpperCaseStyle | |||||
* | `ImportFrom` nodes correctly use the full name for the import sorting checks. | Claudiu Popa | 2018-07-03 | 4 | -6/+14 | |
| | | | | Close #2181 | |||||
* | Expand ignored-argument-names include starred arguments and keyword ↵ | Bryce Guinta | 2018-07-03 | 4 | -2/+30 | |
| | | | | arguments (#2237) | |||||
* | Acknowledge that ellipses are allowed in typing annotations (#2236) | Bryce Guinta | 2018-07-02 | 4 | -1/+16 | |
| | | | Prevents false-positive bad-whitespace message | |||||
* | Customize the issue template. Close #2230 | Claudiu Popa | 2018-06-29 | 4 | -13/+55 | |
| | ||||||
* | Add build stages in travis.yml (#2219) | Sushobhit | 2018-06-28 | 1 | -6/+14 | |
| |