-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 📚 update static information * ✨ get make format command so that all repos are in line * 🔥 remove testing documentation * 🔨 code reformatting * ✨ append more keywords * 🥚 🎡 release 0.0.2 * ✨ update gitignore * ✨ update global gitignore rule set * Update: setup.py still could be `black` * ✨ ignore JetBrians. No need to do upstreaming, moban has global git ignore settings and gitignore repo has gitignore per language and independently has gitignore per IDE so we can mix-n-match * 🐛 update formatter * 🔨 merge changelog.yml with snaoshot-selenium.yml * 📚 update setup meta * 🔥 just ignore JetBrains * ✨ 3.7 included * ✨ 3.8 included * Update: black code
- Loading branch information
1 parent
31b3c08
commit 839a51e
Showing
18 changed files
with
243 additions
and
338 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends 'gitignore.jj2' %} | ||
|
||
{%block extra %} | ||
.idea | ||
{%endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
{% extends "setup.py.jj2" %} | ||
|
||
{%block compat_block%} | ||
{%endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "travis.yml.jj2" %} | ||
|
||
{%block custom_python_versions%} | ||
python: | ||
- 3.8-dev | ||
- 3.7 | ||
- 3.6 | ||
- 3.5 | ||
{%endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{% extends "tests/requirements.txt.jj2" %} | ||
|
||
{%block extras %} | ||
moban | ||
black;python_version>="3.6" | ||
isort;python_version>="3.6" | ||
{%endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
requires: | ||
- pypi-mobans-pkg==0.0.4 | ||
- type: git | ||
url: https://github.com/moremoban/pypi-mobans | ||
submodule: true | ||
configuration: | ||
template_dir: | ||
- "pypi-mobans-pkg:templates" | ||
- "pypi-mobans:templates" | ||
- ".moban.d" | ||
configuration: snapshot-selenium.yml | ||
targets: | ||
- README.rst: CUSTOM_README.rst.jj2 | ||
- setup.py: custom_setup.py.jj2 | ||
- requirements.txt: requirements.txt.jj2 | ||
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2" | ||
- "docs/source/conf.py": "docs/conf.py_t" | ||
- test.sh: test.script.jj2 | ||
- "snapshot_selenium/_version.py": "_version.py.jj2" | ||
- .gitignore: gitignore.jj2 | ||
- .travis.yml: travis.yml.jj2 | ||
- Pipfile: Pipfile.jj2 | ||
- .gitignore: custom_gitignore.jj2 | ||
- .travis.yml: custom_travis.yml | ||
- Pipfile: Pipfile.jj2 | ||
- output: CHANGELOG.rst | ||
template: CHANGELOG.rst.jj2 | ||
- lint.sh: lint.script.jj2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Change log | ||
================================================================================ | ||
|
||
0.0.2 - 01.04.2019 | ||
-------------------------------------------------------------------------------- | ||
|
||
update | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
#. it will take an external browser driver and render images | ||
|
||
0.0.1 - 09.04.2019 | ||
-------------------------------------------------------------------------------- | ||
|
||
first release | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
#. use selenium driver for rendering pyecharts output as image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
all: test | ||
|
||
test: | ||
bash test.sh | ||
all: test | ||
|
||
test: | ||
bash test.sh | ||
|
||
format: | ||
isort -rc . | ||
black -l 79 snapshot_selenium | ||
black -l 79 setup.py | ||
black -l 79 tests | ||
|
||
|
||
lint: | ||
make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
================================================================================ | ||
snapshot-selenium | ||
================================================================================ | ||
|
||
.. image:: https://api.travis-ci.org/pyecharts/snapshot-selenium.svg | ||
:target: http://travis-ci.org/pyecharts/snapshot-selenium | ||
|
||
.. image:: https://codecov.io/github/pyecharts/snapshot-selenium/coverage.png | ||
:target: https://codecov.io/github/pyecharts/snapshot-selenium | ||
|
||
|
||
.. image:: https://readthedocs.org/projects/snapshot-selenium/badge/?version=latest | ||
:target: http://snapshot-selenium.readthedocs.org/en/latest/ | ||
|
||
|
||
Installation | ||
================================================================================ | ||
|
||
|
||
You can install snapshot-selenium via pip: | ||
|
||
.. code-block:: bash | ||
$ pip install snapshot-selenium | ||
or clone it and install it: | ||
|
||
.. code-block:: bash | ||
$ git clone https://github.com/pyecharts/snapshot-selenium.git | ||
$ cd snapshot-selenium | ||
$ python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flake8 . --exclude=.moban.d,docs --builtins=unicode,xrange,long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,35 @@ | ||
name: "snapshot-selenium" | ||
organisation: "pyecharts" | ||
author: "C.W." | ||
author: "pyecharts dev team" | ||
contact: "info@pyecharts.com" | ||
company: "pyecharts dev team" | ||
version: "0.0.1" | ||
current_version: "0.0.1" | ||
release: "0.0.1" | ||
version: "0.0.2" | ||
current_version: "0.0.2" | ||
release: "0.0.2" | ||
copyright_year: 2019 | ||
license: MIT | ||
dependencies: [] | ||
nodocs: true | ||
min_python_version: "3.5" | ||
gitignore_global_rulesets: | ||
- Emacs | ||
- macOS | ||
- Windows | ||
keywords: | ||
- pyecharts | ||
- chart | ||
dependencies: | ||
- selenium | ||
description: "Render echarts using selenium" | ||
releases: | ||
- changes: | ||
- action: update | ||
details: | ||
- it will take an external browser driver and render images | ||
version: 0.0.2 | ||
date: 01.04.2019 | ||
- changes: | ||
- action: first release | ||
details: | ||
- use selenium driver for rendering pyecharts output as image | ||
version: 0.0.1 | ||
date: 09.04.2019 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = "0.0.1" | ||
__version__ = "0.0.2" | ||
__author__ = "pyecharts dev team" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pip freeze | ||
nosetests --with-coverage --cover-package snapshot_selenium --cover-package tests tests snapshot_selenium && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long | ||
nosetests --with-coverage --cover-package snapshot_selenium --cover-package tests tests snapshot_selenium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ mock | |
codecov | ||
coverage | ||
flake8 | ||
moban | ||
black;python_version>="3.6" | ||
isort;python_version>="3.6" |