| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| | |
When alias for method is similar to name of deprecated method.
Closes #5886
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
https://github.com/emacsorphanage/pylint (#7783)
Co-authored-by: Jonas Bernoulli <jonas@bernoul.li>
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
unbalanced-tuple-unpacking (#7778)
Necessary to be able to do https://github.com/PyCQA/pylint/pull/7750
without thinking about it.
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
|
| | |
|
| |
| |
| |
| |
| | |
* Change default value to "mcs"
* Fix functional tests to use "mcs" for first MetaClass classmethod arg
|
| | |
|
|\ \ |
|
| |\ \
|/ / /
| | _ |
|
| |
| |
| |
| |
| | |
* Bump pylint to 2.15.6, update changelog
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
|
| | |
|
| | |
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| | |
Closes #7501
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
* do not report unnecessary list index lookup if start arg is passed
* account for calling start with 0 or negative num
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix a crash when a child class with an ``__init__`` method inherits from a parent class with an ``__init__`` class attribute.
* `continue` if not a method.
* Update pylint/checkers/classes/class_checker.py
* Rename fragment
Closes #7742
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| | |
* Use release version for astroid
* Use better cache key
* Mirror create environment
* Update comments
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove restore keys
* Log pylint + astroid versions
* Reset cache versions
* Add check-latest to setup-python
* Use pyproject.toml for hash
* Update comment-hider version comment
* Pin additional actions
|
| |
| |
| |
| |
| | |
* short-circuit if next method doesnt have args
* check for builtins.next qname
* add inference confidence level
|
| |
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use dict for 'expand_modules' result rather than list.
With 'path' as the key, we get deduplication for free
and do not need to reprocess the list for deduplication later.
* Fix deduplication to account for CLI args marker.
* Fix corner case with CLI arg flag handling during deduplication.
* Add 'deduplication' to custom Pyenchant dict.
Closes #6242
Closes #4053
Co-authored-by: Eric McDonald <emcd@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
called with ``iterable`` as a kwarg. (#7789)
|
| | |
|
| |
| |
| |
| |
| |
| | |
We also gave default write permissions for all jobs in the settings.
The permissions were explicitely defined in each job already
|
| |
| |
| | |
Based on https://github.com/tibdex/backport which seems awfully conveniant.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2)
- [github.com/rstcheck/rstcheck: v6.1.0 → v6.1.1](https://github.com/rstcheck/rstcheck/compare/v6.1.0...v6.1.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
| | |
|
| |
| |
| | |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| | |
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| | |
Closes #7501
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| |
| |
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
concatenation (#7752)
|
| |
| |
| |
| |
| |
| |
| | |
* do not report unnecessary list index lookup if start arg is passed
* account for calling start with 0 or negative num
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update tests
* Use qualified name when checking for overgeneral exceptions
* WIP: Add deprecation warning
* Add changelog fragment
* Use qualified name in test case
* spell check fix
* Update changelog fragment with suggested fixes
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Move OVERGENERAL_EXCEPTIONS directly to the default value in dict
* Mark as TODO for pylint 3.0
* Properly warn on each occurrence of name without dots
* Update the warning per the review
* Rephrase the warning to mention pylint 3.0
* Remove unnecessary nesting of the if condition
* Quote the exception name in deprecation warning
* Use config value for overgeneral exceptions in broad-exception-raised
* Infer qualified name of the exception in broad-exception-raised
* e.g. -> maybe?
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Suppress missing class docstrings
* Add few more tests for broad-exception-raised
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix unexpected missing-raise-from
* Revert "Fix unexpected missing-raise-from"
This reverts commit d796e72035b7f7578b9e6bb1e45a30935e80b009.
* Revert "Add few more tests for broad-exception-raised"
This reverts commit e5a193ee136f8566d43450fbb9fbf28cc717d307.
* Change confidence of broad-exception-raised from HIGH to INFERENCE
* Only trigger broad-exception-raised for raise with new exc instance
* Update overgeneral-exceptions definition in example pylintrc file
* Update pylint/checkers/exceptions.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|