Merge pull request #101 from jimregan/pylint

Make pylint happy
This commit is contained in:
Shivam Mehta
2024-11-13 22:13:36 -08:00
committed by GitHub
14 changed files with 34 additions and 21 deletions

View File

@@ -41,7 +41,7 @@ _brackets_re = re.compile(r"[\[\]\(\)\{\}]")
# List of (regular expression, replacement) pairs for abbreviations:
_abbreviations = [
(re.compile("\\b%s\\." % x[0], re.IGNORECASE), x[1])
(re.compile(f"\\b{x[0]}\\.", re.IGNORECASE), x[1])
for x in [
("mrs", "misess"),
("mr", "mister"),