Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump pylint to 2.13.9, update changelogv2.13.9 | Pierre Sassoulas | 2022-05-13 | 8 | -15/+16 |
| | |||||
* | Fix false positive for `undefined-loop-variable` with `enumerate()` (#6602) | Jacob Walls | 2022-05-13 | 4 | -0/+22 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Respect ignore configuration options when --recursive=y. (#6528) | Matus Valo | 2022-05-13 | 6 | -10/+181 |
| | | | | | | | * Ignore specified files/directories in recursive mode Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix a crash in `unnecessary-dict-index-lookup` when subscripting an ↵ | Jacob Walls | 2022-05-13 | 4 | -0/+16 |
| | | | | attribute (#6579) | ||||
* | Add regression test for #6497 (#6498) | Jacob Walls | 2022-05-13 | 3 | -0/+17 |
| | |||||
* | Add regression test for #6539 | Jacob Walls | 2022-05-13 | 3 | -0/+11 |
| | |||||
* | Upgrade astroid version to 2.11.5 | Pierre Sassoulas | 2022-05-13 | 2 | -2/+2 |
| | |||||
* | Add an exception for `IndexError` inside `uninferable_final_decorator` (#6532) | Mark Byrne | 2022-05-13 | 4 | -12/+55 |
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Bump pylint to 2.13.8, update changelogv2.13.8 | Pierre Sassoulas | 2022-05-02 | 5 | -8/+14 |
| | |||||
* | Suppress `unsubscriptable-object` warnings in type-checking blocks (#5720) | Pierre Sassoulas | 2022-05-02 | 4 | -1/+28 |
| | | | | | | | | * Add a regression test for issue #3979 * Don't emit `unsubscriptable-object` for statements in type-checking blocks Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Fix a false positive for `undefined-loop-variable` when a loop else raises ↵ | Jacob Walls | 2022-05-02 | 4 | -1/+33 |
| | | | | | | or returns (#6480) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive for `undefined-loop-variable` for lambda in first of two ↵ | Jacob Walls | 2022-05-02 | 4 | -1/+34 |
| | | | | | | loops (#6479) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive for ``unused-variable`` when specifying a metaclass via a ↵ | Jacob Walls | 2022-05-02 | 4 | -0/+24 |
| | | | | call (#6481) | ||||
* | Avoid reporting superfluous-parens after an ``is not`` operator (#6451) | Tim Martin | 2022-05-02 | 4 | -1/+24 |
| | |||||
* | Fix crash when open is called with an integer mode (#6415) | Pierre Sassoulas | 2022-05-02 | 5 | -1/+15 |
| | | | | Closes #6414 | ||||
* | Bump pylint to 2.13.7, update changelogv2.13.7 | Pierre Sassoulas | 2022-04-20 | 3 | -3/+9 |
| | |||||
* | Fix 'object has no attribute additional_builtins' (#6410) | Pierre Sassoulas | 2022-04-20 | 3 | -4/+6 |
| | | | Closes #6408 | ||||
* | Bump pylint to 2.13.6, update changelogv2.13.6 | Pierre Sassoulas | 2022-04-20 | 4 | -4/+10 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate to fix the black issue | pre-commit-ci[bot] | 2022-04-20 | 1 | -4/+4 |
| | |||||
* | Upgrade astroid to 2.11.3 (#6398) | Pierre Sassoulas | 2022-04-20 | 2 | -2/+2 |
| | |||||
* | Prevent false positive `undefined-variable` for user-specified builtins ↵ | Jacob Walls | 2022-04-20 | 5 | -2/+35 |
| | | | | given type annotations (#6392) | ||||
* | Fix a crash in the ``unsupported-membership-test`` checker involving tuple ↵ | Jacob Walls | 2022-04-20 | 7 | -7/+54 |
| | | | | | | unpacking (#6367) An assumption of direct parentage between `AssignName` and `Assign` was violated by tuple unpacking. | ||||
* | Fix `AstroidError` in similarity checker with imports/signatures ignored (#6357) | Jacob Walls | 2022-04-20 | 4 | -23/+52 |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Suppress ``useless-super-delegation`` if return type changed (#5822) (#6141) | Tim Martin | 2022-04-20 | 3 | -0/+44 |
| | | | | * Reinstate warning if base method has no return type annotation | ||||
* | Handle asterisks better in Sphinx and Google style docstrings | Daniël van Noord | 2022-04-20 | 9 | -59/+161 |
| | |||||
* | Bump pylint to 2.13.5, update changelogv2.13.5 | Pierre Sassoulas | 2022-04-06 | 4 | -7/+15 |
| | |||||
* | Bump black from 22.1.0 to 22.3.0 (#6176) | dependabot[bot] | 2022-04-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | Add ``subclassed-final-class`` message to the ``check_messages`` decorator ↵ | Mark Byrne | 2022-04-06 | 2 | -0/+4 |
| | | | | | | | | (#6190) Fix a false negative for ``subclassed-final-class`` when a set of other messages were disabled. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Prevent `used-before-assignment` for assignment via nonlocal after type ↵ | Jacob Walls | 2022-04-06 | 5 | -0/+56 |
| | | | | annotation (#6185) | ||||
* | Only emit ``lru-cache-decorating-method`` when ``maxsize`` is ``None`` (#6181) | Daniël van Noord | 2022-04-06 | 8 | -156/+109 |
| | | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive for ``unused-import`` when disabling both ↵ | Andreas Finkler | 2022-04-04 | 4 | -9/+17 |
| | | | | | ``used-before-assignment`` and ``undefined-variable`` (#6096) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Fix handling of "for x in x" homonyms (#6154) | Jacob Walls | 2022-04-04 | 5 | -4/+14 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Account for more node types in handling of except block homonyms with ↵ | Jacob Walls | 2022-04-04 | 5 | -69/+116 |
| | | | | | | | | comprehensions (#6073) Fixes a false positive for `used-before-assignment`. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | ``redefined-slots-in-subclass`` crash when slot type is neither a string or ↵ | Mark Byrne | 2022-04-04 | 3 | -3/+14 |
| | | | | | | | constant node (#6112) * Suppress `invalid-slots-object` in the function tests for `redefined-slots-in-subclass` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix E1102 / ``not-callable`` false positive for property that returns a ↵ | Tushar Sadhwani | 2022-04-04 | 4 | -10/+43 |
| | | | | | | | | lambda function conditionally (#6068) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false-positive for unnecessary-ellipsis checker on comparisons (#6075) | Saugat Pachhai | 2022-04-04 | 1 | -0/+15 |
| | | | | | Closes #6071. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Narrow the scope of the ``unnecessary-ellipsis`` checker (#6081) | Mark Byrne | 2022-04-04 | 3 | -15/+9 |
| | | | | | | | * Narrow the scope of the ``unnecessary-ellipsis`` checker to functions & classes which contain both a docstring and an ellipsis. * Emit the warning when the body contains an ellipsis expression and at least one other item. Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Bump pylint to 2.13.4, update changelogv2.13.4 | Pierre Sassoulas | 2022-03-31 | 4 | -4/+10 |
| | |||||
* | Fix crash in ``super-init-not-called`` checker (#6043) | Daniël van Noord | 2022-03-31 | 4 | -5/+19 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Remove assumption of direct parentage in `used-before-assignment` homonym ↵ | Jacob Walls | 2022-03-31 | 3 | -10/+78 |
| | | | | | | | handling The previous fixes for false positives involving homonyms with variables in comprehension tests in #5586 and #5817 still relied on assumptions of direct parentage. | ||||
* | Fix false positive for the ``unnecessary-ellipsis`` checker (#6039) | Mark Byrne | 2022-03-31 | 3 | -2/+6 |
| | | | | | | | | When an ellipsis is used in a lambda expression. Closes #6036 Co-authored-by: Mark Byrne <mark.byrne@rabobank.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix crash for ``unneccessary-ellipsis`` checker (#6038) | Mark Byrne | 2022-03-31 | 3 | -1/+24 |
| | | | | | | | | | When an ellipsis is used inside of a list or inside a container Closes #6037 Co-authored-by: Mark Byrne <mark.byrne@rabobank.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Include ``testing_pylintrc`` in source and wheel distributions (#6029) | Joe Young | 2022-03-31 | 3 | -0/+9 |
| | |||||
* | Bump pylint to 2.13.3, update changelogv2.13.3 | Pierre Sassoulas | 2022-03-29 | 4 | -5/+11 |
| | |||||
* | Change 'nonexistent-operator' to allow repeated unary ops (with space or ↵ | Sergey B Kirpichev | 2022-03-29 | 4 | -0/+15 |
| | | | | | | | parens) (#6008) Closes #5769 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | `unnecessary-ellipsis` false positive: allow ellipsis as default argument ↵ | Joe Young | 2022-03-29 | 4 | -2/+17 |
| | | | | (#6007) | ||||
* | Fix crash on unbalanced tuple unpacking | Jacob Walls | 2022-03-29 | 4 | -0/+9 |
| | |||||
* | Bump pylint to 2.13.2, update changelogv2.13.2 | Pierre Sassoulas | 2022-03-27 | 4 | -3/+14 |
| | |||||
* | Better error message when we cant write the crash files (#5987) | Pierre Sassoulas | 2022-03-27 | 2 | -7/+9 |
| | | | * Display the error correctly if we can't write a crash report. Also catch any exceptions. | ||||
* | Fix false negative for `protected-access` on functions (#5990) | Jacob Walls | 2022-03-27 | 4 | -1/+25 |
| |