pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Bug description When testing `pylint` against latest astroid in repo, there are regression failures. This is tied to an attempt to fix import paths in https://github.com/pylint-dev/astroid/pull/2589 that is needed...
I've added some tests that test regressions in the tests. I've also made the message to include the number of times a certain message is missing or extra. Without it,...
### Bug description The following code produces `E1101: Instance of 'str' has no 'result' member (no-member)` as of version 3.3.0 of pylint. In earlier versions of pylint the code was...
### Bug description pylint should honor `.pyi` files even if there's no corresponding `.py` file (and even without `--prefer-stubs`) My use-case is having a linting environment without building my compiled...
### Bug description I have this directory structure: ``` |-pack | `-__init__.py `-scripts `-pack ``` In `__init__.py`: ```python """A package to do stuffs.""" X = 1 ``` In `pack`: ```python...
### Bug description ```Python from __future__ import annotations __all__ = [ "foo" ] def foo(): pass ``` ### Command used pylint foo.py --allow-global-unused-variables n ### Pylint output ``` ************* Module...
## Type of Changes | | Type | | --- | ---------------------- | | â | :hammer: Refactoring | ## Description Work in progress to know what others think. There's...
### Bug description ```python async def f() -> bytes: return b'' g = f() g.send(None) ``` It looks like type of `g` is inferred as `bytes` instead of "coroutine returning...
### Bug description ```python # pylint: disable=missing-module-docstring import polars as pl df = pl.read_excel("data.xlsx") print(df.columns) ``` ### Configuration _No response_ ### Command used `pylint hi.py` ### Pylint output ``` *************...
## Type of Changes | | Type | | --- | ---------------------- | | â | :sparkles: New feature | | â | :scroll: Docs | ## Description Alter fallback...