We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 526a3f2 commit 518517dCopy full SHA for 518517d
scripts/format_differences.py
@@ -39,8 +39,8 @@
39
"``[^`]+``",
40
"`[^`]+`__",
41
"`[^`]+`_",
42
- "\*\*[^\*]+\*\*", # bold text between **
43
- "\*[^\*]+\*", # italic text between *
+ r"\*\*[^\*]+\*\*", # bold text between **
+ r"\*[^\*]+\*", # italic text between *
44
]
45
46
_exps = [re.compile(e) for e in _patterns]
@@ -86,7 +86,7 @@ def ind(level=0):
86
else:
87
files = [i for i in PO_DIR.glob("**/**/*.po") if not i.is_relative_to(VENV_DIR)]
88
89
- for i, pofilename in enumerate(files):
+ for pofilename in files:
90
print(f"\n> Processing {pofilename}")
91
po = polib.pofile(pofilename)
92
0 commit comments