From 1023c2ef804f724f2bf4ef2961f8040ee60bff97 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Jul 2019 17:30:37 +0200 Subject: Fix lint (cherry picked from commit 81a5ada67f71af5cd412a16552843a1db0258a4d) --- qutebrowser/misc/earlyinit.py | 1 + scripts/dev/build_release.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py index 36d61e53d..7d358ba7b 100644 --- a/qutebrowser/misc/earlyinit.py +++ b/qutebrowser/misc/earlyinit.py @@ -140,6 +140,7 @@ def pyinstaller_qt_workaround(): if (hasattr(sys, 'frozen') and hasattr(sys, '_MEIPASS') and sys.platform == 'win32'): + # pylint: disable=no-member,protected-access os.environ['PATH'] += os.pathsep + sys._MEIPASS diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 0b311e40f..3c3ff28c9 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -108,7 +108,8 @@ def smoke_test(executable): r'\[.*\] LOADER: .*', # https://github.com/qutebrowser/qutebrowser/issues/4919 - r'objc\[.*\]: .* One of the two will be used\. Which one is undefined\.', + (r'objc\[.*\]: .* One of the two will be used\. ' + r'Which one is undefined\.'), (r'QCoreApplication::applicationDirPath: Please instantiate the ' r'QApplication object first'), ] -- cgit v1.2.3-54-g00ecf