summaryrefslogtreecommitdiff
path: root/pylint
Commit message (Collapse)AuthorAgeFilesLines
...
* Add and expose ``py.typed`` (#8402)Daniël van Noord2023-03-081-0/+0
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [deprecation] Remove ``get_message_definitions`` from ``BaseChecker`` (#8401)Pierre Sassoulas2023-03-081-14/+0
|
* [deprecation] epylint removal for pylint 3.0.0 (#8400)Pierre Sassoulas2023-03-082-242/+0
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Upgrade tbump and the documentation for 3.0.0 dev branchPierre Sassoulas2023-03-081-1/+1
|
* Bump pylint to 2.17.0, update changelog (#8395)Pierre Sassoulas2023-03-073-3/+3
|
* Use UninferableBase instead of UninferableDaniel van Noord2023-03-0717-81/+87
|
* Upgrade to astroid 2.15.0 (#8387)Pierre Sassoulas2023-03-074-9/+9
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Accept values of the form ``<class name>.<attribute name>`` for the ↵Mark Byrne2023-03-031-6/+17
| | | | | | | | `exclude-protected` list (#8364) Closes #7343 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [pre-commit] Transition from flake8/autoflake to ruff (#8372)Pierre Sassoulas2023-03-021-3/+4
| | | | | 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.
* [spelling] Ignore spelling in type/mypy type ignore comments (#8370)Pierre Sassoulas2023-03-021-19/+4
| | | | | | | 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.
* Changing flake8 to have max-line-length of 115 (#8362)Ollie2023-03-0210-12/+27
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Refactor the `_check_protected_attribute_access` method to reduce ↵Mark Byrne2023-03-011-67/+69
| | | | indentation. (#8366)
* Support globbing pattern for input specification (#8312)Alexey Pelykh2023-03-011-2/+12
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [spelling checker] Better help message and code organization (#8338)Pierre Sassoulas2023-02-271-17/+35
| | | | Following a failed attempt to add functional tests for spelling checker in #6137
* Prevent emitting ``invalid-name`` on 'global' redefinition (#8337)Mark Byrne2023-02-271-5/+0
| | | | | Closes #8307
* Add ``invalid-name`` check for ``TypeAlias`` names (#7116)Daniël van Noord2023-02-265-22/+61
|
* Add new checker `bad-chained-comparison` (#7990)Zen Lee2023-02-261-0/+61
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add new check "implicit-flag-alias" (#8345)James Addison2023-02-261-8/+58
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fixing some too long lines (#8339)Ollie2023-02-2510-28/+51
| | | | | * Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [doc] Add an example for 'non-ascii-file-name' (#8340)Pierre Sassoulas2023-02-251-13/+5
| | | | | And move links to related.rst Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
* Only count obviously non-terminating while-loops as return-ended (#8292)Nick Drozd2023-02-231-3/+6
|
* "Message emitted" improvements caused issuesStavros Ntentos2023-02-221-1/+1
| | | | | | | | | | Wrapping "Message emitted" in monospaced formatting, causes `W1507` (`pylint/checkers/stdlib.py`) to fail on a stray space. Fix that - as it seems to be the only outlier. (Might've been nice for a more formal check in the first place 🙏). Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
* Support globbing patterns for source-roots (#8281)Alexey Pelykh2023-02-214-15/+17
| | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* Don't clear the FunctionalTestReporter.messages after each fileDaniel van Noord2023-02-201-3/+0
|
* Fix invalid type false positive (#8206)Nick Drozd2023-02-142-1/+15
|
* [typing] Use __future__ annotations where possible (#8264)Pierre Sassoulas2023-02-121-1/+1
|
* Fix FP for used-before-assignment with assignment expressions in containers ↵Jacob Walls2023-02-111-18/+19
| | | | (#8253)
* Add ``--version`` option to pyreverse (#8257)Andreas Finkler2023-02-101-0/+6
|
* Fix `used-before-assignment` false positive for walrus operator in ↵Zen Lee2023-02-101-0/+5
| | | | dictionary (#8176)
* Add `--color-palette` option to `pyreverse` (#8223)Andreas Finkler2023-02-093-21/+37
|
* Support Implicit Namespace Packages (PEP 420) (#8153)Alexey Pelykh2023-02-0910-32/+152
| | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* Fix `nested-min-max` output msg for sequences (#8234)Dani Alcala2023-02-081-1/+22
|
* Add import-based submodule detection for preferred-modules (#8186)Dave Bunten2023-02-081-2/+12
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Minor refactor to 'is_defined' (#8243)Zen Lee2023-02-081-7/+5
|
* Fix `used-before-assignment` false positive for TYPE_CHECKING if/elif/else ↵Zen Lee2023-02-072-18/+61
| | | | usage (#8071)
* Fix no-name-in-module when variable is same as module name (#8169)Dani Alcala2023-02-071-1/+1
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix crash when an attribute node was used inside an unary op (#8209)Pierre Sassoulas2023-02-071-2/+5
| | | | | Closes #8207
* [pre-commit.ci] pre-commit autoupdate (#8208)pre-commit-ci[bot]2023-02-071-1/+0
| | | | | | | | | | updates: - [github.com/PyCQA/autoflake: v2.0.0 → v2.0.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1) - [github.com/charliermarsh/ruff-pre-commit: v0.0.241 → v0.0.243](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.241...v0.0.243) - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) * Remove false positive fixed in ruff 0.243 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [doc] Use the real URL address of pylint's read the doc projectPierre Sassoulas2023-02-061-2/+2
|
* [ruff] Disable a Star-arg unpacking in a deprecated functionPierre Sassoulas2023-02-061-1/+1
|
* [ruff] B904 Raise exceptions with 'raise ... from err'Pierre Sassoulas2023-02-061-1/+1
|
* [ruff] Autofix 'not x in iterator' => 'x not in iterator'Pierre Sassoulas2023-02-061-1/+1
|
* [ruff] Fix E741 Ambiguous variable name: 'l'Pierre Sassoulas2023-02-061-1/+1
|
* [primer --prepare clone] Create a function for each actionPierre Sassoulas2023-02-061-23/+25
|
* [primer --prepare clone] Better error message in case of crashPierre Sassoulas2023-02-061-3/+12
|
* Fix a false negative for 'missing-parentheses-for-call-in-test'Pierre Sassoulas2023-02-051-13/+10
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Fix grammatical error in explanation of `global-statement (W0603)` (#8108)R. N. West2023-02-021-3/+3
|
* [crash] Fix crashes on python interpreter < 3.9 (#8163)Pierre Sassoulas2023-02-021-1/+1
| | | | | Closes #8161 Co-authored-by: Marc Schmitzer <marc@solute.de>
* Update docs for `global-variable-not-assigned` (#8151)Dani Alcala2023-02-011-6/+17
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.17.0-dev0, update changelogMarc Mueller2023-02-011-1/+1
|