Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6aaabcc

Browse files
committedFeb 27, 2019
fix: lint errors
1 parent 126a675 commit 6aaabcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎products/nativescript/preview_helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ def install_playground_app(device_info, platform):
5353
# noinspection PyUnresolvedReferences
5454
@staticmethod
5555
def get_url(output):
56+
# pylint: disable=no-member
57+
# pylint: disable=no-name-in-module
58+
# pylint: disable=import-error
5659
"""
5760
Get preview URL form tns log.
5861
This is the url you need to load in Preview app in order to see and sync your project.
5962
"""
6063
url = re.findall(r"(nsplay[^\s']+)", output)[0]
6164
if Settings.PYTHON_VERSION < 3:
6265
import urllib
63-
# pylint: disable=no-member
6466
url = urllib.unquote(url)
6567
else:
66-
# pylint: disable=no-name-in-module
67-
# pylint: disable=import-error
6868
from urllib.parse import unquote
6969
url = unquote(url, 'UTF-8')
7070
url = url.replace(r'?', r'\?')

0 commit comments

Comments
 (0)
Please sign in to comment.