From a0813dd3c1a6b6fb8e9df70f15145772f3a42c9c Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 26 Jul 2022 12:01:43 +1000 Subject: [PATCH] Make sure PIP is upgraded to latest version (#3402) Co-authored-by: Matthias Mair --- tasks.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks.py b/tasks.py index a5d1ac0e5b..8adc5b2314 100644 --- a/tasks.py +++ b/tasks.py @@ -94,6 +94,7 @@ def install(c): print("Installing required python packages from 'requirements.txt'") # Install required Python packages with PIP + c.run('pip3 install --upgrade pip') c.run('pip3 install -U -r requirements.txt') @@ -554,9 +555,9 @@ def test_translations(c): # complie regex reg = re.compile( - r"[a-zA-Z0-9]{1}"+ # match any single letter and number - r"(?![^{\(\<]*[}\)\>])"+ # that is not inside curly brackets, brackets or a tag - r"(?])" + # that is not inside curly brackets, brackets or a tag + r"(?