pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Bug description I'm checking code that simplifies to this testcase: ```python from typing import ClassVar class C: __slots__ = ("value",) def __init__(self, value: int): self.value = value x: ClassVar[int]...
### Bug description I have an implicit namespace `test1` that exists both in `site-packages` and in a local project checkout: ``` site-packages/test1 #
### Question If I write a lengthy function, the `too-many-statements` checker rightfully complains about that. The obvious solution is to factor out code into separate functions. If those functions are...
### Bug description ```python from typing import Protocol class Handler(Protocol): def __call__(self, value: int, name: str) -> int: pass def invalid_func_arg_type_mismatch(value: str, name: str) -> int: return value * 2...