From 6a7bb9f51b9f7ad869767bb1a896a4cb79f3279e Mon Sep 17 00:00:00 2001 From: plotski Date: Sat, 2 Dec 2023 18:50:22 +0100 Subject: [PATCH] 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) ``` --- guessit/rules/match_processors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/guessit/rules/match_processors.py b/guessit/rules/match_processors.py index 0b49372..7cdb061 100644 --- a/guessit/rules/match_processors.py +++ b/guessit/rules/match_processors.py @@ -18,3 +18,4 @@ def strip(match, chars=seps): match.end -= 1 if not match: return False + return None