From 71638129e5763860fde0930382d31cc1c4181816 Mon Sep 17 00:00:00 2001 From: Joe R Date: Thu, 4 May 2023 20:28:48 -0400 Subject: [PATCH] Corrected code styling in test.py to fix flake8 validation and CI builds. --- buildozer/test.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/buildozer/test.py b/buildozer/test.py index faab85f9..76bf6174 100644 --- a/buildozer/test.py +++ b/buildozer/test.py @@ -1,13 +1,13 @@ import re -f=open("pubspec.json") -print (f) -txt=f.read().replace('\n', '') -print (txt) -print () +f = open("pubspec.json") +print(f) +txt = f.read().replace('\n', '') +print(txt) +print() -mg = re.search('versionCode[:"\s]+(\d+)',txt) -print (mg.group(1)) +mg = re.search(r'versionCode[:"\s]+(\d+)', txt) +print(mg.group(1)) -ng = re.search('versionName[:"\s]+([\d.]+)',txt) -print (ng.group(1)) +ng = re.search(r'versionName[:"\s]+([\d.]+)', txt) +print(ng.group(1))