Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.5.2
rev: v1.5.4
hooks:
- id: autopep8
args: ["-a", "-i"]
Expand All @@ -9,7 +9,7 @@
- id: isort
args: ["-rc", "."]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.770'
rev: 'v0.782'
hooks:
- id: mypy
entry: mypy appium/ test/
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist: xenial
python:
- "3.7"
- "3.8"
- "3.9-dev"

install:
- pip install tox-travis
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ autopep8: ## Run autopep8

.PHONY: pylint
pylint: ## Run pylint
python -m pylint $(ARGS) --rcfile .pylintrc appium test
# TODO Remove --disable=E1136 when no errors in py39
python -m pylint $(ARGS) --rcfile .pylintrc appium test --disable=E1136
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Notes) When E1136(unsubscriptable-object) added to disable in pylintrc, it didn't work.


.PHONY: mypy
mypy: ## Run mypy
Expand Down
18 changes: 9 additions & 9 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pre-commit = "~=2.1"
pre-commit = "~=2.6"

[packages]
selenium = "~=3.141"

autopep8 = "~=1.5"

pytest = "~=5.3"
pytest-cov = "~=2.8"
pytest = "~=6.0"
pytest-cov = "~=2.10"

tox = "~=3.14"
tox = "~=3.19"
tox-travis = "~=0.12"

httpretty = "~=0.9"
httpretty = "~=1.0"
python-dateutil = "~=2.8"
mock = "~=4.0"

pylint = "~=2.4"
astroid = "~=2.3"
isort = "~=4.3"
pylint = "~=2.5"
astroid = "~=2.4"
isort = "~=4.3" # TODO Can be 5> when pylint uses isort 5>

mypy = "==0.761"
mypy = "==0.782"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pep8]
[pycodestyle]
max-line-length = 120

[isort]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
skipsdist = True
envlist =
py37,
py38
py38,
py39-dev

[testenv]
deps =
Expand Down