chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Wrong hanging indentation before block (add 4 spaces).
Open

        intersection_type: str = 'crisp',

TODO intersection_type: str = 'crisp', ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        self,

TODO self, ^ |

Consider using enumerate instead of iterating with range and len
Open

            for j in range(len(tar)):

Emitted when code that iterates with range and len is encountered. Such code can be simplified by using the enumerate builtin.

Wrong hanging indentation before block (add 4 spaces).
Open

        self,
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO self, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                    and q_pos + length_cur < tar_len
Severity: Info
Found in abydos/distance/_tichy.py by pylint

TODO and qpos + lengthcur < tar_len ^ |

Unused variable 'p_pos'
Open

            p_pos, length = _find_max_block(src, tar, q_pos)
Severity: Minor
Found in abydos/distance/_tichy.py by pylint

Used when a variable is defined but not used.

Wrong hanging indentation before block (add 4 spaces).
Open

        intersection_type: str = 'crisp',
Severity: Info
Found in abydos/distance/_tarantula.py by pylint

TODO intersection_type: str = 'crisp', ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                > search_begin
Severity: Info
Found in abydos/distance/_baystat.py by pylint

TODO

search_begin ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        tokenizer: Optional[_Tokenizer] = None,

TODO tokenizer: Optional[_Tokenizer] = None, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        c_vwl: float = 10,
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO c_vwl: float = 10, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        tokenizer: Optional[_Tokenizer] = None,
Severity: Info
Found in abydos/distance/_warrens_i.py by pylint

TODO tokenizer: Optional[_Tokenizer] = None, ^ |

Variable name a doesn't conform to snake_case naming style
Open

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_warrens_i.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Method could be a function
Open

    def lcsstr(self, src: str, tar: str) -> str:
Severity: Info
Found in abydos/distance/_lcsstr.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

Wrong hanging indentation before block (add 4 spaces).
Open

        self,
Severity: Info
Found in abydos/distance/_unknown_k.py by pylint

TODO self, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        **kwargs: Any
Severity: Info
Found in abydos/distance/_tarantula.py by pylint

TODO **kwargs: Any ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        intersection_type: str = 'crisp',

TODO intersection_type: str = 'crisp', ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        min_ss_len: Optional[int] = None,
Severity: Info
Found in abydos/distance/_baystat.py by pylint

TODO minsslen: Optional[int] = None, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        left_ext: Optional[int] = None,
Severity: Info
Found in abydos/distance/_baystat.py by pylint

TODO left_ext: Optional[int] = None, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        **kwargs: Any
Severity: Info
Found in abydos/distance/_unknown_f.py by pylint

TODO **kwargs: Any ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        intersection_type: str = 'crisp',
Severity: Info
Found in abydos/distance/_tulloss_s.py by pylint

TODO intersection_type: str = 'crisp', ^ |

Severity
Category
Status
Source
Language