Showing 4,191 of 4,191 total issues
Consider using enumerate instead of iterating with range and len Open
for i in range(len(ename)):
- Read upRead up
- Exclude checks
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, lname: str, fname: str = '', qual: str = '', normalize: int = 0
- Read upRead up
- Exclude checks
TODO self, lname: str, fname: str = '', qual: str = '', normalize: int = 0 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('cy', 'sy'),
- Read upRead up
- Exclude checks
TODO ('cy', 'sy'), ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('z', 's'),
- Read upRead up
- Exclude checks
TODO ('z', 's'), ^ |
Wrong hanging indentation before block (add 4 spaces). Open
or lokal_ordet[0:1] in self._harde_vokaler
- Read upRead up
- Exclude checks
TODO or lokalordet[0:1] in self.harde_vokaler ^ |
Line too long (102/100) Open
), # Applebaum < Appelbaum (English + blend English-something forms as Finklestein) # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (119/100) Open
# ("c","","[aou]","(k|C[294912])"), # "C" means that the actual letter could be "ç" (cedille omitted) # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Wrong hanging indentation before block (add 4 spaces). Open
pos + len(sstr) < len(word)
- Read upRead up
- Exclude checks
TODO pos + len(sstr) < len(word) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
i > 0
- Read upRead up
- Exclude checks
TODO i > 0 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and ename[i + 1 : i + 2] in self._frontv
- Read upRead up
- Exclude checks
TODO and ename[i + 1 : i + 2] in self._frontv ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and i + 1 < elen
- Read upRead up
- Exclude checks
TODO and i + 1 < elen ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and ename[i + 2 : i + 3] not in self._uc_v_set
- Read upRead up
- Exclude checks
TODO and ename[i + 2 : i + 3] not in self.ucv_set ^ |
Method could be a function Open
def fingerprint(self, word: str) -> str:
- Read upRead up
- Exclude checks
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
n_bits: int = 16,
- Read upRead up
- Exclude checks
TODO n_bits: int = 16, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
numeral: str, fname: str, lname: str
- Read upRead up
- Exclude checks
TODO numeral: str, fname: str, lname: str ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('ph', 'fh'),
- Read upRead up
- Exclude checks
TODO ('ph', 'fh'), ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and lokal_ordet[1:2] in self._mjuka_vokaler
- Read upRead up
- Exclude checks
TODO and lokalordet[1:2] in self.mjuka_vokaler ^ |
Wrong hanging indentation before block (add 4 spaces). Open
lokal_ordet[0:1] == 'K'
- Read upRead up
- Exclude checks
TODO lokal_ordet[0:1] == 'K' ^ |
Line too long (110/100) Open
), # maybe to add a rule for final m/n that disappears [preceeding vowel becomes nasalized] # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (142/100) Open
# "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong") # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.