Skip to content

Conversation

@dpgraham
Copy link
Contributor

COPY OF #427

Needed to run python isort

@dpgraham dpgraham requested review from KazuCocoa and ki4070ma August 22, 2019 03:43
@jsf-clabot
Copy link

jsf-clabot commented Aug 22, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ vrunoa
✅ KazuCocoa
✅ ki4070ma
❌ Daniel-Graham-SL1298


Daniel-Graham-SL1298 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@ki4070ma
Copy link
Collaborator

ki4070ma commented Aug 22, 2019

@dpgraham
I've checked in my local, webdriver_test.py needs fix from its check.
(At least, python -m isort -rc . works in my local)

Please run below command.

$python -m isort -rc test/unit/webdriver/webdriver_test.py

@dpgraham
Copy link
Contributor Author

@ki4070ma I tried that already and it still fails the test

@ki4070ma
Copy link
Collaborator

@dpgraham
Add mock = "~=3.0" to Pipfile.

https://github.com/appium/python-client/blob/master/Pipfile

https://pypi.org/project/mock/

Error log from Travis

Traceback:

test/unit/webdriver/webdriver_test.py:22: in <module>

    from mock import patch

E   ImportError: No module named mock

@KazuCocoa
Copy link
Member

KazuCocoa commented Aug 22, 2019

9e46aa1
mm, my change does not appear here. <= It delayed appearing on GitHub

isort seems to depend on environment.
By hand and by pre-commit hook on my end got a different result.
The former addressed 9e46aa1 , but the later had no issue without the change.

@ki4070ma
Copy link
Collaborator

ki4070ma commented Aug 22, 2019

@KazuCocoa
Sorry for confusing you, this change(f2a6abd) is from github.com directly, so pre-commit doesn't run.

@KazuCocoa
Copy link
Member

No.
I meant the result of isort by hand, python -m isort -rc ., and by pre-commit had a different result on my local.
We should consider if we continue to use it or fix the dependency.

@KazuCocoa KazuCocoa merged commit 13240d7 into master Aug 22, 2019
@KazuCocoa KazuCocoa deleted the add-events-property branch August 22, 2019 12:32
@KazuCocoa
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants