Showing 4,191 of 4,191 total issues
Access to a protected member _synoname_special_table of a client class Open
self._stc._synoname_special_table[ # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Too many local variables (40/15) Open
def sim_type(
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Unnecessary elif
after return
Open
if fn_equal and self._lev.dist_abs(src_ln, tar_ln) == 1:
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a return statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a return statement.
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
Unable to import 'numpy' Open
from numpy import array as np_array
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Variable name b
doesn't conform to snake_case naming style Open
b = self._src_only_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
src_fn: str = '',
- Read upRead up
- Exclude checks
TODO src_fn: str = '', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
char_approx_min: float = 0.73,
- Read upRead up
- Exclude checks
TODO charapproxmin: float = 0.73, ^ |
Too many boolean expressions in if statement (6/5) Open
if matches > 1 or (
- Read upRead up
- Exclude checks
Used when an if statement contains too many boolean expressions.
Access to a protected member _mode of a client class Open
self._lev._mode = 'lev' # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Too many local variables (16/15) Open
def _get_estimates(self, src: str, tar: str) -> Tuple[float, float]:
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Variable name n
doesn't conform to snake_case naming style Open
n = a + b + c + d
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Wrong hanging indentation before block (add 4 spaces). Open
and self._stc._synoname_special_table[s_pos][1] # noqa: SF01
- Read upRead up
- Exclude checks
TODO and self.stc.synonamespecialtable[s_pos][1] # noqa: SF01 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and tar1_words[0] == src1_words[0]
- Read upRead up
- Exclude checks
TODO and tar1words[0] == src1words[0] ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
' '.join((src_fn, src_ln)).strip()
- Read upRead up
- Exclude checks
TODO ' '.join((srcfn, srcln)).strip() ^ |
Wrong hanging indentation before block (add 4 spaces). Open
== ' '.join((tar_fn, tar_ln)).strip()
- Read upRead up
- Exclude checks
TODO == ' '.join((tarfn, tarln)).strip() ^ |
Too many local variables (31/15) Open
def _synoname_word_approximation(
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Access to a protected member _synoname_special_table of a client class Open
self._stc._synoname_special_table[s_pos][ # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.