Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [unused-private-member] Handle the case with Call node | Pierre Sassoulas | 2021-06-30 | 1 | -4/+19 | |
| | | | | As seen in issue #4638 | |||||
* | [unused-private-member] Handle the 'None' case for attribute expression | Pierre Sassoulas | 2021-06-30 | 1 | -0/+2 | |
| | ||||||
* | [unused-private-member] Remove boolean in favor of using for/else | Pierre Sassoulas | 2021-06-30 | 1 | -7/+3 | |
| | | | | See https://github.com/PyCQA/pylint/pull/4642\#discussion_r661712743 | |||||
* | Add typing in '_check_unused_private_members''s for loops | Pierre Sassoulas | 2021-06-30 | 1 | -1/+3 | |
| | ||||||
* | Bump pylint to 2.9.0-dev1, update changelog | Pierre Sassoulas | 2021-06-17 | 1 | -0/+2 | |
| | ||||||
* | Fix existing code | Marc Mueller | 2021-06-10 | 1 | -2/+2 | |
| | ||||||
* | Update name for consider-using-namedtuple to include dataclass (#4536) | Marc Mueller | 2021-06-02 | 1 | -1/+1 | |
| | | | | | * Change msg name to include dataclass * Update pylint ignores * Update tests | |||||
* | Add new checker consider-using-namedtuple (#4517) | Marc Mueller | 2021-05-31 | 1 | -1/+1 | |
| | | | | * Add new checker consider-using-namedtuple * Add disable for existing code base | |||||
* | Fix false-positive assigning-non-slot with typing.Generic base (#4522) | Marc Mueller | 2021-05-30 | 1 | -0/+7 | |
| | ||||||
* | Implemented new checker invalid-class-object (#4510) | yushao2 | 2021-05-26 | 1 | -1/+18 | |
| | ||||||
* | Fixed false-positive on ``unused-private-member`` (#4507) | yushao2 | 2021-05-25 | 1 | -1/+1 | |
| | ||||||
* | Implemented ``unused-private-member`` checker (#4504) | yushao2 | 2021-05-25 | 1 | -1/+78 | |
| | ||||||
* | Create new error arguments-renamed (#4467) | Konstantina Saketou | 2021-05-17 | 1 | -18/+29 | |
| | | | | | | | | | | | | | | | | | * Create new error arguments-renamed This commits creates the new error arguments-renamed based on the functionality added on #4422 and the changes of #4456. * Merge test files for arguments-differ This commit merges the two kinds of test files that existed for the arguments-differ error, since now all tests run in Python3. * Add tests for arguments-renamed error * Add new error arguments-renamed Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Remove type check from arguments-differ (#4456) | Marc Mueller | 2021-05-10 | 1 | -24/+4 | |
| | ||||||
* | Customize arguments-differ error messages (#4422) | Konstantina Saketou | 2021-05-05 | 1 | -16/+101 | |
| | | | | | | Changes the output messages of arguments-differ based on different error cases. It is part one of the issue #3536 | |||||
* | Changes after black update | Marc Mueller | 2021-04-26 | 1 | -1/+1 | |
| | ||||||
* | Prepare for 2.8.0 releasepylint-2.8.0 | Pierre Sassoulas | 2021-04-24 | 1 | -1/+2 | |
| | ||||||
* | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 | |
| | ||||||
* | Fix some LGMT errors - unreachable-statement | Marc Mueller | 2021-04-07 | 1 | -1/+0 | |
| | ||||||
* | Replace filter | Marc Mueller | 2021-04-03 | 1 | -3/+1 | |
| | ||||||
* | Replace map | Marc Mueller | 2021-04-03 | 1 | -1/+1 | |
| | ||||||
* | Allow protected-access in class methods (#4267) | James Sinclair | 2021-04-01 | 1 | -0/+46 | |
| | | | | | | * Add failing tests for protected member access in class methods. * Allow protected-access to class/instance members inside class methods. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Prepare 2.7.3 release (#4261)pylint-2.7.32.7 | Pierre Sassoulas | 2021-03-29 | 1 | -0/+1 | |
| | ||||||
* | Import astroid with import x or from x import y but not both | Pierre Sassoulas | 2021-03-28 | 1 | -17/+13 | |
| | | | | Remove unused imports for astroid | |||||
* | Fix private method hidden by ancestor class attribute (#4177) | tiagohonorato | 2021-03-21 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | * Fix private method hidden by ancestor class attribute A class defined private method won't be hidden by an ancestor class private attribute as the class will mangle the latter to avoid naming collisions. Add tests to assert method-hidden : Although private attributes from the parent class should not hide methods in the child class, this is not true for protected attributes. This test ensures that ``method-hidden`` catches the error when private attributes are not in use. Signed-off-by: Tiago Honorato <tiagohonorato1@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Remove TypedDict hotfix | Marc Mueller | 2021-02-28 | 1 | -5/+0 | |
| | ||||||
* | Apply copyrite --contribution-threshold | Pierre Sassoulas | 2021-02-21 | 1 | -2/+4 | |
| | ||||||
* | Migrate from % syntax or bad format() syntax to fstring | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 | |
| | | | | We can do that in python 3.6 | |||||
* | Move from % string formatting syntax to f-string or .format() | Pierre Sassoulas | 2021-02-21 | 1 | -2/+2 | |
| | ||||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 1 | -1/+0 | |
| | ||||||
* | Move from format() to f-string where it makes sense | Pierre Sassoulas | 2021-02-16 | 1 | -1/+1 | |
| | | | | As we do not maintain python 3.5 it permit to simplify some code | |||||
* | Fix W504 line break after binary operator | Pierre Sassoulas | 2021-02-15 | 1 | -4/+2 | |
| | ||||||
* | Fix TypedDict inherit-non-class false-positive Python 3.9+ | Marc Mueller | 2021-02-15 | 1 | -0/+5 | |
| | | | | * Closes #1927 | |||||
* | Fix signature-differs | GergelyKalmar | 2020-12-20 | 1 | -1/+4 | |
| | ||||||
* | Taking into account @Pierre-Sassoulas remarks | hippo91 | 2020-09-27 | 1 | -5/+7 | |
| | ||||||
* | Adds an option to the ClassChecker to activate/deactivate protected-access ↵ | hippo91 | 2020-09-26 | 1 | -5/+15 | |
| | | | | message emission for single underscore prefixed attributes inside special method | |||||
* | Remove unsecable whitespace in the whole codebase | Pierre Sassoulas | 2020-09-12 | 1 | -4/+4 | |
| | ||||||
* | Update formatting following black and isort update | Pierre Sassoulas | 2020-09-10 | 1 | -6/+4 | |
| | ||||||
* | Merge branch 'master' into bug_pylint_3468 | hippo91 | 2020-09-06 | 1 | -0/+1 | |
|\ | ||||||
| * | def _has_different_parameters_default_value method add the astroid.DIct ↵ | hippo91 | 2020-08-17 | 1 | -0/+1 | |
| | | | | | | | | class in the type to be compared for default arguments. | |||||
* | | Corrects some inconsistent-return-statements occurences | hippo91 | 2020-08-20 | 1 | -0/+1 | |
|/ | ||||||
* | `property-with-parameters` properly handles abstract properties | Claudiu Popa | 2020-05-14 | 1 | -1/+6 | |
| | | | | Close #3600 | |||||
* | Fix a crash in `method-hidden` lookup for unknown base classes | Claudiu Popa | 2020-04-28 | 1 | -9/+4 | |
| | | | | | | | | The patch replaces `mro()` with `ancestors()` as the former is not fully capable of generating the complete linearization when dealing with ambiguous inferences. Close #3527 | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -6/+17 | |
| | ||||||
* | Positional-only arguments are taken in account for ``useless-super-delegation`` | Claudiu Popa | 2020-03-28 | 1 | -6/+13 | |
| | ||||||
* | Fix R1721: Unnecessary use of a comprehension | Pierre Sassoulas | 2020-03-27 | 1 | -1/+1 | |
| | ||||||
* | Fix overzealous `arguments-differ` for variadics | mattlbeck | 2020-03-27 | 1 | -15/+25 | |
| | | | | | | | | | No message is emitted if the overriding function provides positional or keyword variadics in its signature that can feasibly accept and pass on all parameters given by the overridden function. Closes #1482 Closes #1553 | |||||
* | pyupgrade: automated removal of python2 constructs | Anthony Sottile | 2020-03-24 | 1 | -1/+0 | |
| | | | | | | | | | | | | | using configuration: ```yaml - repo: https://github.com/asottile/pyupgrade rev: v2.1.0 hooks: - id: pyupgrade args: [--py3-plus, --keep-percent-format] exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/) ``` | |||||
* | Correct some types and guard against unexpected values in classes checkers | Claudiu Popa | 2020-03-08 | 1 | -1/+1 | |
| | ||||||
* | ``no-self-use`` is no longer emitted for typing stubs. | Claudiu Popa | 2020-03-07 | 1 | -0/+2 | |
| | | | | Close #3439 |