Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit cba61d6

Browse files
authored
Merge pull request #15 from applitools/develop
Merge develop to master
2 parents 2487723 + 269b141 commit cba61d6

File tree

137 files changed

+10190
-3884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+10190
-3884
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.15.5
2+
current_version = 4.0.0
33
commit = True
44
tag = True
55

@@ -8,3 +8,6 @@ tag = True
88
[bumpversion:file:eyes_images/applitools/images/__version__.py]
99

1010
[bumpversion:file:eyes_selenium/applitools/selenium/__version__.py]
11+
12+
[bumpversion:file:eyes_common/applitools/common/__version__.py]
13+

.gitignore

Lines changed: 177 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ applitools/__pycache__/
88
applitools/utils/__pycache__/
99
dist/
1010
test/__pycache__/
11-
.envrc
11+
.env
1212
.pytest_cache/
1313
geckodriver.log
1414
.mypy_cache
@@ -17,3 +17,179 @@ geckodriver.log
1717
*.egg-info
1818
.directory
1919
.python-version
20+
build/*
21+
### VirtualEnv template
22+
# Virtualenv
23+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
24+
.Python
25+
[Bb]in
26+
[Ii]nclude
27+
[Ll]ib
28+
[Ll]ib64
29+
[Ll]ocal
30+
[Ss]cripts
31+
pyvenv.cfg
32+
.venv
33+
pip-selfcheck.json
34+
### JetBrains template
35+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
36+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
37+
38+
# User-specific stuff
39+
.idea/**/workspace.xml
40+
.idea/**/tasks.xml
41+
.idea/**/usage.statistics.xml
42+
.idea/**/dictionaries
43+
.idea/**/shelf
44+
45+
# Sensitive or high-churn files
46+
.idea/**/dataSources/
47+
.idea/**/dataSources.ids
48+
.idea/**/dataSources.local.xml
49+
.idea/**/sqlDataSources.xml
50+
.idea/**/dynamic.xml
51+
.idea/**/uiDesigner.xml
52+
.idea/**/dbnavigator.xml
53+
54+
# Gradle
55+
.idea/**/gradle.xml
56+
.idea/**/libraries
57+
58+
# Gradle and Maven with auto-import
59+
# When using Gradle or Maven with auto-import, you should exclude module files,
60+
# since they will be recreated, and may cause churn. Uncomment if using
61+
# auto-import.
62+
# .idea/modules.xml
63+
# .idea/*.iml
64+
# .idea/modules
65+
66+
# CMake
67+
cmake-build-*/
68+
69+
# Mongo Explorer plugin
70+
.idea/**/mongoSettings.xml
71+
72+
# File-based project format
73+
*.iws
74+
75+
# IntelliJ
76+
out/
77+
78+
# mpeltonen/sbt-idea plugin
79+
.idea_modules/
80+
81+
# JIRA plugin
82+
atlassian-ide-plugin.xml
83+
84+
# Cursive Clojure plugin
85+
.idea/replstate.xml
86+
87+
# Crashlytics plugin (for Android Studio and IntelliJ)
88+
com_crashlytics_export_strings.xml
89+
crashlytics.properties
90+
crashlytics-build.properties
91+
fabric.properties
92+
93+
# Editor-based Rest Client
94+
.idea/httpRequests
95+
### Python template
96+
# Byte-compiled / optimized / DLL files
97+
__pycache__/
98+
*.py[cod]
99+
*$py.class
100+
101+
# C extensions
102+
*.so
103+
104+
# Distribution / packaging
105+
build/
106+
develop-eggs/
107+
downloads/
108+
eggs/
109+
.eggs/
110+
lib/
111+
lib64/
112+
parts/
113+
sdist/
114+
var/
115+
wheels/
116+
*.egg-info/
117+
.installed.cfg
118+
*.egg
119+
120+
# PyInstaller
121+
# Usually these files are written by a python script from a template
122+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
123+
*.manifest
124+
*.spec
125+
126+
# Installer logs
127+
pip-log.txt
128+
pip-delete-this-directory.txt
129+
130+
# Unit test / coverage reports
131+
htmlcov/
132+
.tox/
133+
.coverage
134+
.coverage.*
135+
.cache
136+
nosetests.xml
137+
coverage.xml
138+
*.cover
139+
.hypothesis/
140+
141+
# Translations
142+
*.mo
143+
*.pot
144+
145+
# Django stuff:
146+
*.log
147+
local_settings.py
148+
db.sqlite3
149+
150+
# Flask stuff:
151+
instance/
152+
.webassets-cache
153+
154+
# Scrapy stuff:
155+
.scrapy
156+
157+
# Sphinx documentation
158+
docs/_build/
159+
160+
# PyBuilder
161+
target/
162+
163+
# Jupyter Notebook
164+
.ipynb_checkpoints
165+
166+
# pyenv
167+
168+
# celery beat schedule file
169+
celerybeat-schedule
170+
171+
# SageMath parsed files
172+
*.sage.py
173+
174+
# Environments
175+
.env
176+
.envrc
177+
env/
178+
venv/
179+
ENV/
180+
env.bak/
181+
venv.bak/
182+
183+
# Spyder project settings
184+
.spyderproject
185+
.spyproject
186+
187+
# Rope project settings
188+
.ropeproject
189+
190+
# mkdocs documentation
191+
/site
192+
193+
# mypy
194+
.mypy_cache/
195+
/eyes_selenium/node_modules/

.pre-commit-config.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ repos:
99
types: []
1010

1111
- repo: https://gitlab.com/pycqa/flake8
12-
rev: '3.7.3'
12+
rev: 3.7.7
1313
hooks:
1414
- id: flake8
1515
language_version: python3.7
1616

17-
- repo: https://github.com/asottile/seed-isort-config
18-
rev: v1.5.0
19-
hooks:
20-
- id: seed-isort-config
17+
# - repo: https://github.com/asottile/seed-isort-config
18+
# rev: v1.7.0
19+
# hooks:
20+
# - id: seed-isort-config
2121

2222
- repo: https://github.com/pre-commit/mirrors-isort
23-
rev: v4.3.4
23+
rev: v4.3.12
2424
hooks:
2525
- id: isort
2626
language_version: python3.7
@@ -32,4 +32,5 @@ repos:
3232
- id: end-of-file-fixer
3333
- id: debug-statements
3434
- id: mixed-line-ending
35-
fix: lr
35+
args:
36+
- --fix=lf

.travis.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
language: python
22
addons:
3-
apt:
4-
sources:
5-
- google-chrome
6-
packages:
7-
- google-chrome-stable
3+
chrome: stable
4+
# firefox: latest
85
matrix:
96
include:
107
- python: 2.7
118
env:
12-
- TOX_ENV=core
9+
- TOX_ENV=unit
1310
- python: 3.5
1411
env:
15-
- TOX_ENV=core
12+
- TOX_ENV=unit
1613
- python: 2.7
1714
env:
1815
- TOX_ENV=images
@@ -34,19 +31,19 @@ matrix:
3431
- python: 3.6
3532
env:
3633
- TOX_ENV=selenium-appium
34+
- python: 3.6
35+
env:
36+
- TOX_ENV=visualgrid
3737
- python: 3.6
3838
env:
3939
- TOX_ENV=lint
4040
install:
41-
- npm install -g webdriver-manager
42-
- webdriver-manager update
4341
- pip install -U tox
4442
before_script:
4543
- export DISPLAY=:99.0
4644
- sh -e /etc/init.d/xvfb start
47-
- nohup webdriver-manager start --logging=ERROR &
4845
- sleep 10 # give webdriver some time to start
49-
script:
5046
- export APPLITOOLS_BATCH_ID=`uuidgen -t`
47+
script:
5148
- echo $APPLITOOLS_BATCH_ID
5249
- tox -e $TOX_ENV

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ For smother development experience install Invoke for task run first
3939
pip install invoke
4040
inv install-requirements # install libs required for development
4141
inv install-packages # for installing all packages
42-
inv install-packages -core # install only core package, could be core|selenium]images
43-
inv dist -core # publish eyes_core to test.pypi.org
44-
inv dist -core -prod # publish eyes_core to pypi.org
42+
inv install-packages --core # install only core package, could be core|selenium]images
43+
inv dist --core # publish eyes_core to test.pypi.org
44+
inv dist --core -prod # publish eyes_core to pypi.org
4545

4646
Install pre-commit hook
4747
***********************
@@ -63,5 +63,5 @@ For local testing, for example, images sdk
6363

6464
::
6565

66-
inv install-packages -core -images
67-
inv test-run -images
66+
inv install-packages --core --images
67+
inv test-run --images

0 commit comments

Comments
 (0)