From d982254a79ca3e34c9f50e072a925fe6b8a12ed1 Mon Sep 17 00:00:00 2001 From: "S. Co1" Date: Thu, 5 Sep 2019 18:35:04 -0400 Subject: Fix misconfigured flake8 so docstrings are properly linted Relint --- bot/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/utils') diff --git a/bot/utils/__init__.py b/bot/utils/__init__.py index 3249a9cf..72a681a3 100644 --- a/bot/utils/__init__.py +++ b/bot/utils/__init__.py @@ -110,7 +110,7 @@ def replace_many( regex = re.compile(pattern, re.I if ignore_case else 0) def _repl(match): - """Returns replacement depending on `ignore_case` and `match_case`""" + """Returns replacement depending on `ignore_case` and `match_case`.""" word = match.group(0) replacement = replacements[word.lower() if ignore_case else word] -- cgit v1.2.3