summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge the empty-string extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-022-3/+5
|
* Move dockerfile to the example directory bump to alpine3.17 (#8353)Alex Mor2023-04-011-0/+7
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add Python 3.8+ `asyncSetUp` to "defining-attr-methods" list (#8403)Samuel FORESTIER2023-03-112-1/+2
|
* Bump pylint to 2.17.0, update changelog (#8395)Pierre Sassoulas2023-03-072-11/+22
|
* Changing flake8 to have max-line-length of 115 (#8362)Ollie2023-03-021-3/+3
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [typing] Use __future__ annotations where possible (#8264)Pierre Sassoulas2023-02-122-2/+6
|
* Support Implicit Namespace Packages (PEP 420) (#8153)Alexey Pelykh2023-02-091-0/+5
| | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* Don't use 'self.config' in examples since it's deprecated (#8227)jessebrennan2023-02-071-1/+1
|
* Bump pylint to 2.16.0, update changelogv2.16.0Pierre Sassoulas2023-02-012-0/+6
|
* Bump pylint to 2.16.0-b0, update changelogv2.16.0b0Pierre Sassoulas2023-01-132-16/+6
|
* [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965)Pierre Sassoulas2022-12-271-1/+1
|
* Add flag `--clear-cache-post-run` to support server-like usage (#7802)Jacob Walls2022-12-052-0/+8
| | | | | | 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.
* Fix `valid-metaclass-classmethod-first-arg` default value (#7791)Cubicpath2022-11-192-2/+2
| | | | | * Change default value to "mcs" * Fix functional tests to use "mcs" for first MetaClass classmethod arg
* Use qualified name when checking for overgeneral exceptions (#7497)Jakub Kuczys2022-11-132-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Sort examples/pylintrcMarc Mueller2022-10-211-258/+258
|
* Bump pylint to 2.15.0-a0, update changelog (#7196)Pierre Sassoulas2022-07-302-9/+26
| | | [doc] Add summary for the release notes
* [doc] Remove hard-coded default in 'ignored-argument-names' description (#7239)Pierre Sassoulas2022-07-302-4/+2
|
* Merge 'origin/maintenance/2.14.x' into main following 2.14.5 releasePierre Sassoulas2022-07-172-189/+189
|\
| * Bump pylint to 2.14.5, update changelogv2.14.5Pierre Sassoulas2022-07-172-189/+189
| |
* | doc(fail-under): rephrase description (#7102)Ville Skyttä2022-07-052-2/+2
| | | | | | | | | | | | 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>
* | Merge branch 'maintenance/2.14.x' into main following 2.14.4 releasePierre Sassoulas2022-06-292-2/+4
|\ \ | |/
| * Bump pylint to 2.14.4, update changelogv2.14.4Pierre Sassoulas2022-06-292-2/+4
| |
* | Merge branch 'maintenance/2.14.x' into mainPierre Sassoulas2022-06-181-2/+3
|\ \ | |/
| * Bump pylint to 2.14.3, update changelogv2.14.3Pierre Sassoulas2022-06-181-2/+3
| |
* | Add support of sharing message in multiple checkers. Fix DeprecatedChecker ↵Matus Valo2022-06-161-2/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Bump pylint to 2.14.0, update changelogv2.14.0Pierre Sassoulas2022-06-012-4/+2
|
* Bump pylint to 2.14.0-b0, update changelog (#6527)v2.14.0-b1Pierre Sassoulas2022-05-101-1/+1
| | | Update contributors and create release summary
* Use main instead of master as main checker name (#6569)Daniël van Noord2022-05-101-1/+1
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Upgrade configuration example and add toml example (#6529)Pierre Sassoulas2022-05-102-195/+794
| | | | | * Add a pyproject.toml example and an automated upgrade for release * Upgrade the pylintrc example following migration to argparse
* [spelling] Remove remaining typoes detected by the spelling checkerPierre Sassoulas2022-04-261-1/+1
|
* [spelling] Fix all ie / eg => i.e. / e.g.Pierre Sassoulas2022-04-261-1/+1
|
* Remove ``IAstroidChecker`` from ``__implements__``Daniël van Noord2022-04-192-7/+0
|
* Subclass ``BaseRawFileChecker`` and ``BaseTokenChecker``Daniël van Noord2022-04-191-5/+2
|
* Add some manual typing changes (#6325)Daniël van Noord2022-04-141-6/+7
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Deprecate ``ignore-mixin-members`` + add ``ignored-checks-for-mixins``Daniël van Noord2022-04-041-4/+0
|
* Remove the concept of checker priority (#6034)Daniël van Noord2022-04-011-2/+0
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Update ``pydocstringformatter`` to 0.4.0 (#5787)Daniël van Noord2022-02-101-2/+2
|
* Add ``future=True`` to all ``NodeNG.frame`` calls (#5621)Daniël van Noord2022-01-101-1/+1
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Format docstrings with ``pydocstringformatter``Daniël van Noord2022-01-022-3/+3
|
* Fix #2399: Avoid negative scores by default (#5595)Jacob Walls2021-12-281-1/+1
|
* Add typing and uniformize the checker registering in Pylinter (#5558)Pierre Sassoulas2021-12-273-13/+23
| | | | | Remove verbose docstring in code, keep them in example and doc Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Fix some typoes before adding typing for checker registeringPierre Sassoulas2021-12-201-7/+3
|
* Fix typos over the whole codebase (#5540)Kian Meng, Ang2021-12-171-1/+1
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Produce a score of 0 for fatal errors and add fatal to score evaluation (#5521)Jacob Walls2021-12-141-2/+2
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Update description of ``ignore-paths`` (#5415)Daniël van Noord2021-11-281-1/+3
|
* Type ``process_module`` and update argument namesDaniël van Noord2021-09-131-1/+3
|
* Remove the python3 porting mode from the codebasePierre Sassoulas2021-09-011-72/+1
| | | | | | 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 alias for astroid.nodes 01 (#4855)Marc Mueller2021-08-171-6/+5
| | | | * Use from astroid import nodes * Resolve name conflicts
* Issue #4541: add ``ignore-paths`` option to example pylintrc file.DudeNr332021-06-291-0/+4
|
* Add extension-pkg-allow-list optionPeter Kolbus2021-03-091-0/+6
| | | | | Add an option extension-pkg-allow-list to the main checker. This is an alternate name for extension-pkg-whitelist.