Skip to content

Commit 7922408

Browse files
authored
Merge pull request #45 from pyexcel/dev
release 0.6.0
2 parents 66dc5ac + c616ab9 commit 7922408

28 files changed

+308
-213
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
With your PR, here is a check list:
22

3-
- [ ] Has Test cases written
4-
- [ ] Has all code lines tested
3+
- [ ] Has test cases written?
4+
- [ ] Has all code lines tested?
55
- [ ] Has `make format` been run?
6-
- [ ] Has `moban` been run?
6+
- [ ] Please update CHANGELOG.yml(not CHANGELOG.rst)
77
- [ ] Passes all Travis CI builds
88
- [ ] Has fair amount of documentation if your change is complex
9-
- [ ] run 'make format' so as to confirm the pyexcel organisation's coding style
10-
- [ ] Please update CHANGELOG.rst
11-
- [ ] Please add yourself to CONTRIBUTORS.rst
129
- [ ] Agree on NEW BSD License for your contribution

.github/workflows/moban-update.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on: [push]
2+
3+
jobs:
4+
run_moban:
5+
runs-on: ubuntu-latest
6+
name: synchronize templates via moban
7+
steps:
8+
- uses: actions/checkout@v2
9+
with:
10+
ref: ${{ github.head_ref }}
11+
- name: Set up Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: '3.7'
15+
- name: check changes
16+
run: |
17+
pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
18+
moban
19+
git status
20+
git diff --exit-code
21+
- name: Auto-commit
22+
if: failure()
23+
uses: docker://cdssnc/auto-commit-github-action
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
args: >-
28+
This is an auto-commit, updating project meta data,
29+
such as changelog.rst, contributors.rst

.gitignore

+45-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ parts/
2525
sdist/
2626
var/
2727
wheels/
28-
pip-wheel-metadata/
2928
share/python-wheels/
3029
*.egg-info/
3130
.installed.cfg
@@ -52,8 +51,10 @@ htmlcov/
5251
nosetests.xml
5352
coverage.xml
5453
*.cover
54+
*.py,cover
5555
.hypothesis/
5656
.pytest_cache/
57+
cover/
5758

5859
# Translations
5960
*.mo
@@ -63,6 +64,7 @@ coverage.xml
6364
*.log
6465
local_settings.py
6566
db.sqlite3
67+
db.sqlite3-journal
6668

6769
# Flask stuff:
6870
instance/
@@ -75,6 +77,7 @@ instance/
7577
docs/_build/
7678

7779
# PyBuilder
80+
.pybuilder/
7881
target/
7982

8083
# Jupyter Notebook
@@ -85,17 +88,23 @@ profile_default/
8588
ipython_config.py
8689

8790
# pyenv
88-
.python-version
91+
# For a library or package, you might want to ignore these files since the code is
92+
# intended to run in multiple environments; otherwise, check them in:
93+
# .python-version
8994

9095
# pipenv
9196
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
9297
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93-
# having no cross-platform support, pipenv may install dependencies that dont work, or not
98+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
9499
# install all needed dependencies.
95100
#Pipfile.lock
96101

97-
# celery beat schedule file
102+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
103+
__pypackages__/
104+
105+
# Celery stuff
98106
celerybeat-schedule
107+
celerybeat.pid
99108

100109
# SageMath parsed files
101110
*.sage.py
@@ -127,6 +136,12 @@ dmypy.json
127136
# Pyre type checker
128137
.pyre/
129138

139+
# pytype static type analyzer
140+
.pytype/
141+
142+
# Cython debug symbols
143+
cython_debug/
144+
130145
# VirtualEnv rules
131146
# Virtualenv
132147
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
@@ -159,6 +174,7 @@ pip-selfcheck.json
159174
# Windows rules
160175
# Windows thumbnail cache files
161176
Thumbs.db
177+
Thumbs.db:encryptable
162178
ehthumbs.db
163179
ehthumbs_vista.db
164180

@@ -264,13 +280,15 @@ flycheck_*.el
264280
# Vim rules
265281
# Swap
266282
[._]*.s[a-v][a-z]
283+
!*.svg # comment out if you don't need vector files
267284
[._]*.sw[a-p]
268285
[._]s[a-rt-v][a-z]
269286
[._]ss[a-gi-z]
270287
[._]sw[a-p]
271288

272289
# Session
273290
Session.vim
291+
Sessionx.vim
274292

275293
# Temporary
276294
.netrwhist
@@ -281,7 +299,7 @@ tags
281299
[._]*.un~
282300

283301
# JetBrains rules
284-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
302+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
285303
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
286304

287305
# User-specific stuff
@@ -311,9 +329,14 @@ tags
311329
# When using Gradle or Maven with auto-import, you should exclude module files,
312330
# since they will be recreated, and may cause churn. Uncomment if using
313331
# auto-import.
332+
# .idea/artifacts
333+
# .idea/compiler.xml
334+
# .idea/jarRepositories.xml
314335
# .idea/modules.xml
315336
# .idea/*.iml
316337
# .idea/modules
338+
# *.iml
339+
# *.ipr
317340

318341
# CMake
319342
cmake-build-*/
@@ -363,6 +386,7 @@ fabric.properties
363386

364387
# SFTP configuration file
365388
sftp-config.json
389+
sftp-config-alt*.json
366390

367391
# Package control specific files
368392
Package Control.last-run
@@ -400,6 +424,10 @@ tmtags
400424
!.vscode/tasks.json
401425
!.vscode/launch.json
402426
!.vscode/extensions.json
427+
*.code-workspace
428+
429+
# Local History for Visual Studio Code
430+
.history/
403431

404432
# Xcode rules
405433
# Xcode
@@ -426,6 +454,9 @@ DerivedData/
426454
*.perspectivev3
427455
!default.perspectivev3
428456

457+
## Gcc Patch
458+
/*.gcno
459+
429460
# Eclipse rules
430461
.metadata
431462
bin/
@@ -477,12 +508,17 @@ local.properties
477508

478509
# Annotation Processing
479510
.apt_generated/
511+
.apt_generated_test/
480512

481513
# Scala IDE specific (Scala & Java development for Eclipse)
482514
.cache-main
483515
.scala_dependencies
484516
.worksheet
485517

518+
# Uncomment this line if you wish to ignore the project description file.
519+
# Typically, this file would be tracked if it contains build/dependency configurations:
520+
#.project
521+
486522
# TortoiseGit rules
487523
# Project-level settings
488524
/.tgitconfig
@@ -504,3 +540,7 @@ cscope.files
504540
cscope.out
505541
cscope.in.out
506542
cscope.po.out
543+
544+
545+
# remove moban hash dictionary
546+
.moban.hashes

.moban.d/custom_travis.yml.jj2

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{% extends "travis.yml.jj2" %}
22

3-
{%block custom_install %} - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
4-
- pip install --upgrade pip>8 setuptools>21
3+
{%block custom_python_versions%}
4+
python:
5+
- 3.8
6+
- 3.7
7+
- 3.6
58
{%endblock%}

.travis.yml

+3-31
Original file line numberDiff line numberDiff line change
@@ -4,50 +4,24 @@ language: python
44
notifications:
55
email: false
66
python:
7-
- &pypy2 pypy2.7-6.0
8-
- &pypy3 pypy3.5-6.0
9-
- 3.8-dev
7+
- 3.8
108
- 3.7
119
- 3.6
12-
- 3.5
13-
- 2.7
1410

1511
stages:
1612
- lint
17-
- moban
1813
- test
1914

20-
.disable_global: &disable_global
21-
addons: false
22-
cache: false
23-
env: {}
24-
python: false
25-
before_install: false
26-
install: false
27-
before_script: false
28-
script: false
29-
after_success: false
30-
after_failure: false
31-
before_deploy: false
32-
deploy: false
3315

3416
.lint: &lint
35-
<<: *disable_global
3617
git:
3718
submodules: false
3819
python: 3.6
20+
env:
21+
- MINREQ=0
3922
stage: lint
4023
script: make lint
4124

42-
.moban: &moban
43-
<<: *disable_global
44-
python: 3.6
45-
stage: moban
46-
install: pip install moban>=0.0.4
47-
script:
48-
- moban
49-
- git diff --exit-code
50-
5125
jobs:
5226
include:
5327
- *moban
@@ -56,8 +30,6 @@ jobs:
5630
stage: test
5731

5832
before_install:
59-
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
60-
- pip install --upgrade pip>8 setuptools>21
6133
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
6234
mv min_requirements.txt requirements.txt ;
6335
fi

CHANGELOG.rst

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
Change log
22
================================================================================
33

4+
0.6.0 - 10.10.2020
5+
--------------------------------------------------------------------------------
6+
7+
**Updated**
8+
9+
#. New style xlsx plugins, promoted by pyexcel-io v0.6.2.
10+
411
0.5.8 - 28.12.2019
512
--------------------------------------------------------------------------------
613

714
**Updated**
815

9-
#. #34 pin openpyxl>=2.6.1
16+
#. `#34 <https://github.com/pyexcel/pyexcel-xlsx/issues/34>`_: pin
17+
openpyxl>=2.6.1
1018

1119
0.5.7 - 15.02.2019
1220
--------------------------------------------------------------------------------
1321

1422
**Added**
1523

16-
#. pyexcel-io#66 pin openpyxl < 2.6.0
24+
#. `pyexcel-io#66 <https://github.com/pyexcel/pyexcel-io/issues/66>`_ pin
25+
openpyxl < 2.6.0
1726

1827
0.5.6 - 26.03.2018
1928
--------------------------------------------------------------------------------

CONTRIBUTORS.rst

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
3 contributors
4+
================================================================================
5+
6+
In alphabetical order:
7+
8+
* `Benoit Pierre <https://github.com/benoit-pierre>`_
9+
* `John Vandenberg <https://github.com/jayvdb>`_
10+
* `Stephen J. Fuhry <https://github.com/fuhrysteve>`_

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2019 by Onni Software Ltd. and its contributors
1+
Copyright (c) 2015-2020 by Onni Software Ltd. and its contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms of the software as well
@@ -13,7 +13,7 @@ that the following conditions are met:
1313
and/or other materials provided with the distribution.
1414

1515
* Neither the name of 'pyexcel-xlsx' nor the names of the contributors
16-
may be used to endorse or promote products derived from this software
16+
may not be used to endorse or promote products derived from this software
1717
without specific prior written permission.
1818

1919
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include README.rst
22
include LICENSE
33
include CHANGELOG.rst
4+
include CONTRIBUTORS.rst
45
recursive-include tests *
56
recursive-include docs *

Makefile

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
all: test
22

3-
test:
3+
test: lint
44
bash test.sh
55

6+
install_test:
7+
pip install -r tests/requirements.txt
8+
9+
lint:
10+
bash lint.sh
11+
612
format:
7-
isort -y $(find pyexcel_xlsx -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
8-
black -l 79 pyexcel_xlsx
9-
black -l 79 tests
13+
bash format.sh
14+
15+
git-diff-check:
16+
git diff --exit-code

Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ python_version= '3.6'
88

99
[packages]
1010
openpyxl = '>=2.6.1'
11-
pyexcel-io = '>=0.5.3'
11+
pyexcel-io = '>=0.6.2'
1212

1313
[dev-packages]
1414
nose = "*"

0 commit comments

Comments
 (0)