| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
(cherry picked from commit 3d036b78fca6e80222f9ca2ffd0f25950d261aed)
|
|
|
|
|
|
|
| |
`default` keyword (#8582) (#8583)
(cherry picked from commit 4a485e28f0a5118b37550123c79f1f6d0dec42a4)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``.
Closes #8570
(cherry picked from commit 56fa5dce747a46f1dcba6eca003bb22fcc347247)
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
Resolve #8500
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 0cd41b1fb15e31eb311b61f93bc27f7cacc2f7ac)
Co-authored-by: RSTdefg <34202999+RSTdefg@users.noreply.github.com>
|
|
|
|
|
|
|
| |
function contains both a positional-only parameter that has a default value, and ``**kwargs``. (#8556) (#8560)
(cherry picked from commit db17860fd61154c59f3acc13ff34b120cc5ba091)
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
|
|
|
|
| |
(cherry picked from commit b5f2b01635edd23fecc1546f3fdb2a41e6a51995)
|
|
|
|
|
|
|
| |
assignment. (#8541) (#8548)
(cherry picked from commit cb255eaaed8bba6bec1f7bf5d4cde15821c1dd46)
Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
|
|
|
|
| |
(cherry picked from commit eeddd667a6e73ef58fb47cdda154c1751f0ffe71)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: the special method `__new__` must match the arguments of the
`__init__` method even if `__new__` method does not use them. This
generate `unused-argument` for the `__new__` method.
Fix: the unused arguments check should not be done on the `__new__`
method if the `__init__` method is defined in the same class.
Update `unused-argument` test to include a check for the case of
`__init__` and `__new__` being defined in a class but `__new__` does not
use all of the argument. This is fine because `__new__` must have the
same argument of `__init__`.
Update with a second check in case of `__init__` being not defined in a
class. Then the unused arguments check must be done on `__new__`.
Fixes https://github.com/pylint-dev/pylint/issues/3670
(cherry picked from commit 156da64d0fb4c06e15c5b619b91ce550d594a770)
Co-authored-by: Théo Battrel <theo.util@protonmail.ch>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add regression test for #7506 (#8432)
(cherry picked from commit 1fa16c2d8a7e97223541069731d28896f651b1ab)
---------
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 6ad17fb758361f50210f4cb5a4fd34494034f4e0)
Co-authored-by: Alvaro Frias <alvaro.frias@eclypsium.com>
|
|
|
|
|
| |
(cherry picked from commit f7bd67604f395cd50734b9559acc37ae5d34ce4b)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
|
|
|
| |
Co-authored-by: Stephane Odul <1504511+sodul@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
their body (#8498) (#8506)
Fixes #8496
(cherry picked from commit b62143611a4713e4729ce9ecb6398f5f94d82f1a)
Co-authored-by: cherryblossom <31467609+cherryblossom000@users.noreply.github.com>
|
|
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 07127ee75f3456920ff5117cdbaf8697744b6cfc)
|
| |
|
|
|
|
|
|
| |
Co-authored-by: d33bs <dave.bunten@cuanschutz.edu>
(cherry picked from commit d64c0cc1484b0cbea5fd3a9dfac4c0d6ddc7d1aa)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit b968fa062f801626426ef399401c4530e13fcc49)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit b312b9a66472e17d02461258d2156d670481a7f6)
Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 4c56ba82d7aac50b1ea34e929833c91418e1d117)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit ab20812ad0e9ca17cc3bc32dbf34be575dcea502)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.253 → v0.0.254](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.253...v0.0.254)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.253 → v0.0.254](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.253...v0.0.254)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.4 → v3.0.0-alpha.6](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.4...v3.0.0-alpha.6)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
(cherry picked from commit e64f0437388298c7f8514a6755c3c27a0d9a35f2)
Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com>
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
enchant does not understand class name well enough so it creates false
positives, and mypy type ignore comments with additional text are
a syntax error anyway, so raising a spelling mistakes for it is not
really important.
(cherry picked from commit b5aab35a6f20efad94ae8da07392fad6d1c28aad)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
Closes #8307
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#8351)
* [test] Use an empty pylintrc so tests to not depend on system's conf
Closes #8342
* Update tests/checkers/unittest_imports.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
---------
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
(cherry picked from commit 641f526e1632dd1835b79abaf31006efc60824f6)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#8349)
Refs #8342
(cherry picked from commit 27a3984832faf36be4fab07fef84086d25283846)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
`exclude-protected` list (#8364)
Closes #7343
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.3.0 to 6.1.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.3.0...v6.1.3)
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updates the requirements on [myst-parser](https://github.com/executablebooks/MyST-Parser) to permit the latest version.
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v0.18.0...v0.19.1)
---
updated-dependencies:
- dependency-name: myst-parser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
| |
| |
| |
| | |
ruff is faster and support pyproject.toml. flake8-typing-import
is not implemented but it checks for things in python version
< 3.7.2 that we do not support.
|
| |
| |
| |
| |
| |
| |
| | |
enchant does not understand class name well enough so it creates false
positives, and mypy type ignore comments with additional text are
a syntax error anyway, so raising a spelling mistakes for it is not
really important.
|