Skip to content

Commit 1ae8c25

Browse files
authored
ci: Added py39-dev for travis (appium#557)
* ci: Added py39-dev * Add xv option for debug * [debug] pip list * Avoid error in py39 * Updated modules in pre-commit
1 parent 9402c6f commit 1ae8c25

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- repo: https://github.com/pre-commit/mirrors-autopep8
2-
rev: v1.5.2
2+
rev: v1.5.4
33
hooks:
44
- id: autopep8
55
args: ["-a", "-i"]
@@ -9,7 +9,7 @@
99
- id: isort
1010
args: ["-rc", "."]
1111
- repo: https://github.com/pre-commit/mirrors-mypy
12-
rev: 'v0.770'
12+
rev: 'v0.782'
1313
hooks:
1414
- id: mypy
1515
entry: mypy appium/ test/

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist: xenial
44
python:
55
- "3.7"
66
- "3.8"
7+
- "3.9-dev"
78

89
install:
910
- pip install tox-travis

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ autopep8: ## Run autopep8
1515

1616
.PHONY: pylint
1717
pylint: ## Run pylint
18-
python -m pylint $(ARGS) --rcfile .pylintrc appium test
18+
# TODO Remove --disable=E1136 when no errors in py39
19+
python -m pylint $(ARGS) --rcfile .pylintrc appium test --disable=E1136
1920

2021
.PHONY: mypy
2122
mypy: ## Run mypy

Pipfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
pre-commit = "~=2.1"
7+
pre-commit = "~=2.6"
88

99
[packages]
1010
selenium = "~=3.141"
1111

1212
autopep8 = "~=1.5"
1313

14-
pytest = "~=5.3"
15-
pytest-cov = "~=2.8"
14+
pytest = "~=6.0"
15+
pytest-cov = "~=2.10"
1616

17-
tox = "~=3.14"
17+
tox = "~=3.19"
1818
tox-travis = "~=0.12"
1919

20-
httpretty = "~=0.9"
20+
httpretty = "~=1.0"
2121
python-dateutil = "~=2.8"
2222
mock = "~=4.0"
2323

24-
pylint = "~=2.4"
25-
astroid = "~=2.3"
26-
isort = "~=4.3"
24+
pylint = "~=2.5"
25+
astroid = "~=2.4"
26+
isort = "~=4.3" # TODO Can be 5> when pylint uses isort 5>
2727

28-
mypy = "==0.761"
28+
mypy = "==0.782"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[pep8]
1+
[pycodestyle]
22
max-line-length = 120
33

44
[isort]

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
skipsdist = True
33
envlist =
44
py37,
5-
py38
5+
py38,
6+
py39-dev
67

78
[testenv]
89
deps =

0 commit comments

Comments
 (0)