mirror of
https://github.com/zoriya/guessit.git
synced 2026-08-16 02:44:52 +00:00
chore(lint): Silence pylint
This fixes the following error: ``` ************* Module guessit.rules.match_processors guessit/rules/match_processors.py:7:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) ```
This commit is contained in:
@@ -18,3 +18,4 @@ def strip(match, chars=seps):
|
||||
match.end -= 1
|
||||
if not match:
|
||||
return False
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user