Skip to content

Commit a3a6741

Browse files
committed
🤝 sychronize with pypi-mobans
1 parent b5842cf commit a3a6741

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,7 @@ $RECYCLE.BIN/
248248
# Windows shortcuts
249249
*.lnk
250250

251+
# remove moban hash dictionary
252+
.moban.hashes
253+
251254
.idea

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ test: lint
66
install_test:
77
pip install -r tests/requirements.txt
88

9-
git-diff-check:
10-
git diff --exit-code
11-
129
lint:
1310
bash lint.sh
1411

README.rst

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ pyecharts-extras
1616
.. image:: https://img.shields.io/github/stars/pyecharts/pyecharts-extras.svg?style=social&maxAge=3600&label=Star
1717
:target: https://github.com/pyecharts/pyecharts-extras/stargazers
1818

19+
.. image:: https://img.shields.io/static/v1?label=continuous%20templating&message=%E6%A8%A1%E7%89%88%E6%9B%B4%E6%96%B0&color=blue&style=flat-square
20+
:target: https://moban.readthedocs.io/en/latest/#at-scale-continous-templating-for-open-source-projects
21+
22+
.. image:: https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square
23+
:target: https://github.com/psf/black
24+
1925
.. image:: https://mybinder.org/badge_logo.svg
2026
:target: https://mybinder.org/v2/gh/pyecharts/pyecharts-extras/master?filepath=examples
2127

lint.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
pip install flake8
2-
flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long
3-
python setup.py checkdocs
2+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@
7070
}
7171
# You do not need to read beyond this line
7272
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
73+
HERE = os.path.abspath(os.path.dirname(__file__))
74+
7375
GS_COMMAND = ("gs pyecharts-extras v0.0.5 " +
7476
"Find 0.0.5 in changelog for more details")
7577
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
7678
"Please install gease to enable it.")
7779
UPLOAD_FAILED_MSG = (
7880
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
79-
HERE = os.path.abspath(os.path.dirname(__file__))
8081

8182

8283
class PublishCommand(Command):
@@ -122,7 +123,6 @@ def run(self):
122123
"publish": PublishCommand
123124
})
124125

125-
126126
def has_gease():
127127
"""
128128
test if github release command is installed

0 commit comments

Comments
 (0)