Showing 4,191 of 4,191 total issues
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.
Wrong hanging indentation before block (add 4 spaces). Open
and ename[i - 1] == 'D'
- Read upRead up
- Exclude checks
TODO and ename[i - 1] == 'D' ^ |
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
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
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 ^ |
Method could be a function Open
def encode(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
('ce', 'se'),
- Read upRead up
- Exclude checks
TODO ('ce', 'se'), ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('tio', 'sio'),
- Read upRead up
- Exclude checks
TODO ('tio', 'sio'), ^ |
Line too long (123/100) Open
), # maybe to add a rule for m/n before a consonant 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 (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 (103/100) Open
# e.g., ^ means start of word, $ Means End Of Word, [^ei] means anything but e or i, etc. # 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
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Too many branches (13/12) Open
def encode(self, word: str) -> str:
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
Wrong hanging indentation before block (add 4 spaces). Open
ename[i + 1 : i + 2] == 'G'
- Read upRead up
- Exclude checks
TODO ename[i + 1 : i + 2] == 'G' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and ename[i + 1] == 'I'
- Read upRead up
- Exclude checks
TODO and ename[i + 1] == 'I' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and i + 2 <= elen
- Read upRead up
- Exclude checks
TODO and i + 2 <= elen ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (len(fname[loc:]) == len(numeral))
- Read upRead up
- Exclude checks
TODO and (len(fname[loc:]) == len(numeral)) ^ |
Parameters differ from overridden 'encode' method Open
def encode(self, lname: str, fname: str = '.') -> str:
- Read upRead up
- Exclude checks
Used when a method has a different number of arguments than in the implemented interface or in an overridden method.
Too many branches (13/12) Open
def _koda_foersta_ljudet(lokal_ordet: str) -> str:
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
Line too long (106/100) Open
), # in german, "y" usually appears only in the last position; sometimes before a vowel # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.