Skip to content

Commit bec0847

Browse files
committed
Fix pre-commit and pypy
1 parent e0d1f9d commit bec0847

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ repos:
1111
rev: 3.7.7
1212
hooks:
1313
- id: flake8
14+
exclude: docs
1415
language_version: python3

.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,15 @@ jobs:
3737
env: TOXENV=py37
3838

3939
-
40-
name: pypy 5.6.0
41-
python: pypy-5.6.0
40+
name: pypy
41+
python: pypy
4242
env: TOXENV=pypy
4343

44+
-
45+
name: pypy3
46+
python: pypy3
47+
env: TOXENV=pypy3
48+
4449
- stage: deploy
4550
python: 3.7
4651
dist: xenial

Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pytest = "*"
88
tox = "*"
99
flake8 = "*"
1010
black = "*"
11+
pre-commit = "*"
1112

1213
[packages]
1314
pytest-selenium = {editable = true,extras = ["appium"],path = "."}

pytest_selenium/drivers/appium.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
PORT = os.environ.get("APPIUM_PORT", 4723)
99

1010

11-
1211
def driver_kwargs(capabilities, host, port, **kwargs):
1312
executor = "http://{0}:{1}/wd/hub".format(host, port)
1413
kwargs = {"command_executor": executor, "desired_capabilities": capabilities}

0 commit comments

Comments
 (0)