Skip to content

Commit

Permalink
chore(lint): Silence pylint
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
plotski committed Dec 2, 2023
1 parent 54acf78 commit 6a7bb9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guessit/rules/match_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ def strip(match, chars=seps):
match.end -= 1
if not match:
return False
return None

0 comments on commit 6a7bb9f

Please sign in to comment.