summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add optional `prefer-typing-namedtuple` message (#8681)HEADmainJacob Walls2023-05-1610-8/+71
| | | Closes #8660
* [pre-commit.ci] pre-commit autoupdate and simplify ruff config (#8694)pre-commit-ci[bot]2023-05-163-7/+4
| | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.267](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.265...v0.0.267) - [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.2.0...v1.3.0) --------- Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add new checker `kwarg-superseded-by-positional-arg` and fix a false ↵Mark Byrne2023-05-1612-25/+119
| | | | | | | | | | positive (#8644) * Fix a false positive for ``redundant-keyword-arg`` when a function, with a keyword-only-parameter and ``**kwargs``, is called with a positional argument and a keyword argument where the keyword argument has the same name as the positional-only-parameter. * Add new checker ``kwarg-superseded-by-positional-arg`` which emits a warning message for the above scenario. Closes #8558 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix a false negative for ``too-many-arguments`` and positional-only and ↵Mark Byrne2023-05-156-2/+16
| | | | | | | | keyword-only arguments (#8674) Closes #8667
* Update pytest-xdist requirement from ~=3.2 to ~=3.3 (#8690)dependabot[bot]2023-05-151-1/+1
| | | | | | | | | | | | | | Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version. - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: pytest-xdist dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Regression fix for `unused-variable` false negative (#8684)Zen Lee2023-05-153-0/+24
|
* Load custom plugins when linting in parallel (#8683)Jacob Walls2023-05-145-8/+36
|
* Fix crash when deleting from a dict returned from a call (#8678)Jacob Walls2023-05-124-5/+13
|
* Primer - remove `.git` suffix from github URL. (#8676)Mark Byrne2023-05-111-1/+1
|
* [pre-commit.ci] pre-commit autoupdate (#8669)pre-commit-ci[bot]2023-05-091-3/+3
| | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.263 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.263...v0.0.265) - [github.com/charliermarsh/ruff-pre-commit: v0.0.263 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.263...v0.0.265) - [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](https://github.com/asottile/pyupgrade/compare/v3.3.2...v3.4.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Merge maintenance 2.17.x in main (#8665)Pierre Sassoulas2023-05-064-0/+119
|\ | | | | Refs #8664
| * Merge maintenance-2.17.x in main following 2.17.4 releasePierre Sassoulas2023-05-064-0/+119
| |\ |/ /
| * Bump pylint to 2.17.4, update changelogv2.17.4Pierre Sassoulas2023-05-067-13/+34
| | | | | | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
| * [changelog] Add a changelog entry for #8632Pierre Sassoulas2023-05-051-0/+4
| |
| * Make sure a ``tool`` table is created in ``toml`` generation (#8638) (#8640)github-actions[bot]2023-04-305-10/+11
| | | | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 434d49f69a65adf75c86dd9629ffbb6d8300df67) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
| * [tomlkit] Limit the maximum version of tomlkit (#8633) (#8635)github-actions[bot]2023-04-282-1/+5
| | | | | | | | | | (cherry picked from commit a59f3d588a72ec4e5702f988064dd62bb408ccb8) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
| * Added escaping of vertical bar character in annotation labels (#8610) (#8631)Andreas Finkler2023-04-2719-25/+80
| |
| * Fix a false positive for ``bad-dunder-name`` when there is a user-defined ↵github-actions[bot]2023-04-243-0/+7
| | | | | | | | | | | | | | | | | | ``__index__`` method. (#8619) (#8622) Closes #8613 (cherry picked from commit f223c6de3a39eae6d1c76e30b55da28639dd8777) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
* | [Doc] Minor fixup in launching_test.rstLucas Cimon2023-05-051-1/+1
| |
* | [use-implicit-booleaness] Micro-optimization if some messages are disabledPierre Sassoulas2023-05-031-4/+9
| |
* | [use-implicit-booleaness] Remove condition that is always false (outdated ↵Pierre Sassoulas2023-05-031-2/+0
| | | | | | | | typing hint?)
* | [use-implicit-booleaness] Optimization for unknown operatorsPierre Sassoulas2023-05-031-5/+7
| |
* | [use-implicit-booleaness] Merge the check for string and zero togetherPierre Sassoulas2023-05-031-64/+52
| |
* | [use-implicit-booleaness] Reinstate tests that are expected to failPierre Sassoulas2023-05-031-10/+10
| |
* | Uniformize message and remove useless details.rstPierre Sassoulas2023-05-036-36/+37
| |
* | Add applicability notes for `compare-to-empty-string/zero` (#8592)Jason Lau2023-05-035-51/+51
| | | | | | | | | | | | The extension `compare-to-empty-string` is only applicable when the expression being compared is strictly a `str`. The extension `compare-to-zero` is only applicable when the expression being compared is strictly an `int`.
* | Switch from ' to " in use-implicit-booleaness-not-comparisonPierre Sassoulas2023-05-032-33/+33
| | | | | | | | | | Because empty string needs to " because node.as_string() use simple quote.
* | Upgrade 'tox - docs' to match readthedoc online and for performance (#8653)Pierre Sassoulas2023-05-033-2/+14
| |
* | [doc] Add warning for empty sequences in ↵Pierre Sassoulas2023-05-024-13/+17
| | | | | | | | 'use-implicit-booleaness-not-comparison'
* | Merge the empty-string extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-0223-153/+124
| |
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-0220-184/+147
| |
* | [doc] Apply black on the documentation where it makes sense (#8650)Pierre Sassoulas2023-05-02149-161/+242
| | | | | | Co-authored-by: Daniel van Noord <13665637+DanielNoord@users.noreply.github.com>
* | [pre-commit.ci] pre-commit autoupdate (#8651)pre-commit-ci[bot]2023-05-021-2/+2
| | | | | | | | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.262 → v0.0.263](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.262...v0.0.263) - [github.com/charliermarsh/ruff-pre-commit: v0.0.262 → v0.0.263](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.262...v0.0.263) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* | [Doc] Improving implicit-str-concat/details.rst (#8649)Lucas Cimon2023-05-012-1/+13
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | [Doc] Create implicit-str-concat/details.rst (#8648)Lucas Cimon2023-05-011-0/+15
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Search for pyproject.toml config file in parent dirs (#7163)Mikhail f. Shiryaev2023-04-305-1/+79
| | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | [primer] Fix commit string generation (#8639)Jacob Walls2023-04-301-2/+3
| | | | | | Follow-up to 87a4d672a8661aa61d5717fd902315d9563e33b6.
* | Make sure a ``tool`` table is created in ``toml`` generation (#8638)Daniël van Noord2023-04-305-10/+11
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Fix false negative for calling module-level function before definition (#8494)Jacob Walls2023-04-295-19/+29
| |
* | Add home-assistant to primer and remove old external primer (#8612)Jacob Walls2023-04-297-129/+6
| |
* | [tomlkit] Limit the maximum version of tomlkit (#8633)Pierre Sassoulas2023-04-282-1/+5
| |
* | Added escaping of vertical bar character in annotation labels (#8610)ViRuSTriNiTy2023-04-2618-12/+56
| |
* | Bump astroid to 3.0.0a2 (#8627)Marc Mueller2023-04-252-2/+2
| |
* | Bump astroid to 3.0.0a1 (#8626)Marc Mueller2023-04-257-7/+26
| |
* | [pre-commit.ci] pre-commit autoupdate (#8625)pre-commit-ci[bot]2023-04-251-4/+4
| | | | | | | | | | | | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.261 → v0.0.262](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.261...v0.0.262) - [github.com/charliermarsh/ruff-pre-commit: v0.0.261 → v0.0.262](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.261...v0.0.262) - [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.3.2) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v3.0.0-alpha.9-for-vscode](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v3.0.0-alpha.9-for-vscode) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* | Drop support for Python 3.7 (#8609)Marc Mueller2023-04-2450-240/+72
| | | | | | | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests
* | Merge maintenance 2.17.x in main (#8621)Pierre Sassoulas2023-04-242-5/+67
|\ \
| * \ Merge branch 'maintenance/2.17.x' following 2.17.3 releasePierre Sassoulas2023-04-242-5/+67
| |\ \ | | |/
| | * Bump pylint to 2.17.3, update changelog (#8620)v2.17.3Pierre Sassoulas2023-04-2414-33/+63
| | |
| | * Upgrade astroid to 2.15.4 (#8615) (#8618)github-actions[bot]2023-04-242-2/+2
| | | | | | | | | | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit a83137da3d72990d41ae993128fdde297cbc36cf) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>