pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Steps to reproduce ```python def _fn_a(): return _fn_b() + (3, ) def _fn_c(): vp1 = 1 if vp1 < 0: vp1 = -vp1 return vp1 def _fn_b(): vp1 =...
### Current problem Pylint support plugins which might want to type-check their code. Therefore it would be great, if pylint could expose it's types. ### Desired solution Add missing types...
### Steps to reproduce 1. Run pylint on some random Python file or module: ``` pylint ~/Desktop/pylint_test.py ``` As you can see this outputs some warnings/scoring: ``` ************* Module pylint_test...
According to documentation: http://pylint.pycqa.org/en/latest/user_guide/run.html#parallel-execution > There are some limitations in running checks in parallel in the current implementation. It is not possible to use custom plugins (i.e. --load-plugins option)... Actually,...
### Status Quo Currently you can disable specific messages or severity classes (error, warning, refactor, convention), so to do pylint runs of various stringency, you could do one of *...
### Steps to reproduce ```python def func(value): yield 1 generator = (x for x in range(10)) if value == 1: # pylint: disable=unused-variable,stop-iteration-return pass elif value == 2: abc =...
### Bug description ```python # pylint: disable=missing-module-docstring, pointless-statement from typing import ( Any, AnyStr, Callable, Collection, Dict, Generator, Iterator, # pylint: disable=unused-import List, Optional, Tuple, Union, ) Any AnyStr Callable...
### Is your feature request related to a problem? Please describe I use pylint in vi with a pyproject.toml -- pyproject.toml isn't always in my $CWD. ### Describe the solution...
### Steps to reproduce Given this filen named test.py: ```python import numpy as np class ExempleClass : typ = np.uint32 def __init__(self,D): self.X = np.zeros( D, dtype=self.typ) ``` I run...
### Bug description I noticed this problem because I use colorized text output alongside with the [pylint-gitlab](https://pypi.org/project/pylint-gitlab/) plugin. I filed [an issue there](https://gitlab.com/smueller18/pylint-gitlab/-/issues/11) as well, but I agree with [the...