| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
| |
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
| |
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use this flag if you expect the linted files to be altered between runs,
for instance, if using pylint in a server-like mode. The flag clear's
astroid's in-memory caches.
|
|
|
|
|
| |
* Change default value to "mcs"
* Fix functional tests to use "mcs" for first MetaClass classmethod arg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
| |
[doc] Add summary for the release notes
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
To exceed a threshold here sonds to me as if the score would have to be
_above_ the threshold, which is the opposite of what actually happens.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
example (#6693)
* Move message definitions from DeprecatedMixin
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added typing and fixed unittests
* Make DEPRECATED_MSGS and DEPRECATED_IMPORT_MSG class variables to make pylint happy
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Introduce shared messages
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change Message codes in DeprecatedMixin to W49XX
* Make mypy happy
* Make pylint happy
* Add support for building documentation for shared messages
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Make isort happy
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Circuvent isort
* Move shared to extra message options and fix tests
* Update deprecation_checker example
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update doc/exts/pylint_messages.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Update doc/exts/pylint_messages.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Make messages static class attributes
* Keep MessageDefinition backward compatible
* Apply suggestions from code review
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| |
|
|
|
| |
Update contributors and create release summary
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
| |
* Add a pyproject.toml example and an automated upgrade for release
* Upgrade the pylintrc example following migration to argparse
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Remove verbose docstring in code, keep them in example and doc
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
| |
It's possible to use the python3 porting checker from
an older pylint version. But it's not evolving anymore
and was costing resource to maintain.
|
|
|
|
| |
* Use from astroid import nodes
* Resolve name conflicts
|
| |
|
|
|
|
|
| |
Add an option extension-pkg-allow-list to the main checker. This is an
alternate name for extension-pkg-whitelist.
|