Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix ``bad-super-call`` for non-direct parents (#6956) | Daniël van Noord | 2022-06-18 | 2 | -4/+34 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix ``undefined-variable`` for ``__class__`` in inner methods (#6957) | Daniël van Noord | 2022-06-18 | 2 | -8/+14 |
| | |||||
* | Fix false positive for ``useless-super-delegation`` for variadics (#6949) | Daniël van Noord | 2022-06-18 | 2 | -0/+32 |
| | |||||
* | Treat `--errors-only` as a disable, not a paired enable/disable (#6937) | Jacob Walls | 2022-06-15 | 1 | -0/+10 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Mix incorrect parsing of multi-line options in ``ini`` files | Daniël van Noord | 2022-06-15 | 2 | -1/+8 |
| | |||||
* | Add regression test for #6895 (#6898) | Jacob Walls | 2022-06-15 | 2 | -0/+9 |
| | | | | | * Upgrade astroid to 2.11.6 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Mark `no-self-use` as moved to extensions (#6932) | Jacob Walls | 2022-06-15 | 2 | -9/+27 |
| | | | | | | * Mark `no-self-use` as deleted (moved to extensions) * Separate notions of deleted messages from moved messages Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Avoid raising `undefined-loop-variable` twice on same line (#6925) | Jacob Walls | 2022-06-15 | 2 | -0/+9 |
| | |||||
* | Prevent pylint.run._cpu_count() from returning 0 (#6903) | Paul Lichtenberger | 2022-06-15 | 1 | -1/+36 |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fixed misinterpreted modulo sign for ``consider-using-f-string`` (#6914) | Paul Lichtenberger | 2022-06-15 | 2 | -18/+21 |
| | | | | | | * Fixed a false positive in consider-using-f-string if the left side of a % is not a string. * consider-using-f-string: if left side of a \% does not have the attr value it can't be a str | ||||
* | Suppress ``unnecessary-list-index-lookup`` for whole loop on write (#6845) | Tim Martin | 2022-06-15 | 3 | -0/+19 |
| | | | | | | | | | | The ``unnecessary-list-index-lookup`` checker was assuming that if the subscript was written to then it would only invalidate access on later lines, but this is not necessarily the case if an inner loop is nested inside the one being checked. Fixes #6818 Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Avoid `used-before-assignment` in except handlers employing type annotations | Jacob Walls | 2022-06-15 | 2 | -6/+16 |
| | |||||
* | Prevent `unused-import` for `if t.TYPE_CHECKING` | Jacob Walls | 2022-06-06 | 2 | -2/+28 |
| | |||||
* | [deleted messages] Fix helper function for old names of deleted messages | Pierre Sassoulas | 2022-06-06 | 2 | -4/+4 |
| | | | | Previousely they were considered unknown names. | ||||
* | [bad-option-value] Add a 'useless-option-value' message | Pierre Sassoulas | 2022-06-06 | 18 | -44/+43 |
| | | | | | | | So it's possible to to distinguish between genuine typoes and old configuration that could be cleaned. We use old_names to decrease message type to warning | ||||
* | Fix a crash when linting ``__new__()`` methods that return a call (#6822) | Huw Jones | 2022-06-06 | 2 | -0/+44 |
| | | | Only check for Enum attributes when metaclass is an Enum metaclass | ||||
* | [bad-option-value] Use the right confidence and refactor message (#6829) | Pierre Sassoulas | 2022-06-06 | 10 | -23/+30 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix a crash in the optional `private_import` extension | Jacob Walls | 2022-06-06 | 1 | -0/+13 |
| | |||||
* | [deleted messages] Add an exception for deleted messages in MessageIdStore | Pierre Sassoulas | 2022-06-06 | 6 | -6/+54 |
| | |||||
* | [deleted messages] Refactor the constant to be able to give a reason | Pierre Sassoulas | 2022-06-06 | 1 | -5/+6 |
| | |||||
* | Prevent warnings on dict / list index lookup with destructuring assignment ↵ | Tim Martin | 2022-06-06 | 2 | -0/+14 |
| | | | | | | (#6808) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Fix the use of abbreviations for preprocessable options on the CLI (#6820) | Daniël van Noord | 2022-06-06 | 1 | -0/+15 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Prevent `used-before-assignment` for names only defined under `except` if ↵ | Jacob Walls | 2022-06-06 | 2 | -0/+65 |
| | | | | the `else` returns (#6791) | ||||
* | Fix parsing of unrelated options in tox.ini (#6801) | Daniël van Noord | 2022-06-06 | 2 | -0/+19 |
| | |||||
* | Don't crash if we can't find the user's home directory (#6806) | Daniël van Noord | 2022-06-06 | 1 | -0/+15 |
| | |||||
* | Add commit hash in the primer comment (#6783) | Daniël van Noord | 2022-06-01 | 1 | -0/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix ``.git`` in package links in the primer (#6782) | Daniël van Noord | 2022-06-01 | 2 | -5/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix a crash in the ``docparams`` extension when raising the result of a ↵ | Jacob Walls | 2022-05-31 | 1 | -0/+11 |
| | | | | function (#6767) | ||||
* | Avoid comparing timestamps in fatal messages | Jacob Walls | 2022-05-31 | 1 | -7/+17 |
| | |||||
* | Filter out astroid errors from the bot comment (#6773) | Jacob Walls | 2022-05-31 | 1 | -24/+17 |
| | |||||
* | Fix broken links in primer comments by stripping ".git" (#6768) | Jacob Walls | 2022-05-31 | 1 | -1/+2 |
| | |||||
* | Remove ``home-assistant`` from primer | Daniël van Noord | 2022-05-30 | 1 | -5/+0 |
| | |||||
* | Remove redundant second batch of old primer | Daniël van Noord | 2022-05-30 | 3 | -23/+0 |
| | |||||
* | Fail "new primer" runs on fatal errors, like the "old primer" (#6746) | Jacob Walls | 2022-05-30 | 2 | -2/+20 |
| | |||||
* | Move more packages to the new primer | Daniël van Noord | 2022-05-30 | 3 | -23/+22 |
| | |||||
* | Add python version into the file name of output files of primer (#6754) | Daniël van Noord | 2022-05-30 | 1 | -1/+5 |
| | |||||
* | Put fatal messages at the top in the primer comment | Daniël van Noord | 2022-05-29 | 1 | -17/+46 |
| | |||||
* | Fix `pyreverse` type annotations for attributes using alternative union ↵ | Andreas Finkler | 2022-05-29 | 5 | -0/+48 |
| | | | | | | | | | | | syntax (#6720) * Fix `pyreverse` type annotations for attributes using alternative union syntax. * Fix `dot` output and add additional test cases * Apply suggestions from code review * Add changelog entry in `full.rst` | ||||
* | Add more packages to the new primer | Daniël van Noord | 2022-05-29 | 3 | -10/+10 |
| | |||||
* | Fix URLs for primer | Daniël van Noord | 2022-05-29 | 1 | -2/+2 |
| | |||||
* | Add a doc example for simplifiable-if-expression and simplifiable-if-statement | Pierre Sassoulas | 2022-05-29 | 2 | -3/+30 |
| | | | | | Refs #5953 Closes #5882 | ||||
* | Compare difference between primer runs and post comment (#6723) | Daniël van Noord | 2022-05-28 | 2 | -2/+89 |
| | |||||
* | Small refactors to primer | Daniël van Noord | 2022-05-28 | 1 | -1/+4 |
| | |||||
* | Add ``pytest`` to to-be primed packages | Daniël van Noord | 2022-05-28 | 3 | -10/+6 |
| | |||||
* | Move ``pylint_primer_tests`` into ``tests`` | Daniël van Noord | 2022-05-28 | 3 | -3/+3 |
| | |||||
* | Primer tool: remove duplicated directory paths | Jacob Walls | 2022-05-28 | 1 | -1/+1 |
| | |||||
* | Run and upload primer over packages (#6714) | Daniël van Noord | 2022-05-28 | 2 | -1/+39 |
| | | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Fix tests and add example for explicit `Union` type hint. | DudeNr33 | 2022-05-27 | 2 | -3/+9 |
| | |||||
* | Fix return type annotations in MermaidJS diagrams. | DudeNr33 | 2022-05-27 | 4 | -6/+29 |
| | |||||
* | Refactor and deprecate resolving of interface implementations in `pyreverse` ↵ | Andreas Finkler | 2022-05-27 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | (#6713) * Remove variables and code paths that are always static in productive use. * Add deprecation warning if an interface defined through ``__implements__`` is found. * Update pylint/pyreverse/inspector.py Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> * Group changelog entries together with refactor from #6712 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> |