Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
aa7222d
:hammer: kick start 0.6.0
chfw Nov 10, 2018
6af34ac
:hammer: black and isort now rules the coding style
chfw Nov 10, 2018
942c53d
:handshake: synchronize with latest pyexcel-mobans and pypi-mobans
chfw Nov 8, 2019
7ee28eb
:books: update badges
chfw Nov 8, 2019
eb6d1d7
:books: update sponsorship
chfw Nov 8, 2019
5f6cc3e
:sparkles: use inherited mobanfile. https://github.com/moremoban/moba…
chfw Nov 10, 2019
376bb59
:newspaper: add mising files
chfw Nov 12, 2019
8239c34
:fire: remove test file generation
chfw Nov 12, 2019
4410c1e
:newspaper: custom setup
chfw Nov 12, 2019
a3aad6d
:handshake: synchronize the organisational meta data
chfw Jun 8, 2020
e4870b0
:rocket: github actions for moban, pypi release and automatically ext…
chfw Aug 23, 2020
82b5759
This is an auto-commit, updating project meta data, such as changelog…
chfw Aug 23, 2020
02c7111
:sparkles: add contributors list
chfw Aug 29, 2020
2dab3e9
:newspaper: add format.sh
chfw Aug 29, 2020
cd1db94
Merge branch 'dev' of https://github.com/pyexcel/pyexcel-xls into dev
chfw Aug 29, 2020
f14d1e2
This is an auto-commit, updating project meta data, such as changelog…
chfw Aug 29, 2020
a07d3ca
:handshake: update meta data
chfw Sep 19, 2020
bbb0d0d
Merge branch 'dev' of https://github.com/pyexcel/pyexcel-xls into dev
chfw Sep 19, 2020
ed37444
This is an auto-commit, updating project meta data, such as changelog…
chfw Sep 19, 2020
fba6951
:fire: remove python tests lower than python 3.6
chfw Sep 19, 2020
d89c676
Merge branch 'dev' of https://github.com/pyexcel/pyexcel-xls into dev
chfw Sep 19, 2020
2789cb5
This is an auto-commit, updating project meta data, such as changelog…
chfw Sep 19, 2020
2459ede
:fire: remove python tests lower than python 3.6
chfw Sep 20, 2020
eef1cd3
Merge branch 'dev' of https://github.com/pyexcel/pyexcel-xls into dev
chfw Sep 20, 2020
25647ac
This is an auto-commit, updating project meta data, such as changelog…
chfw Sep 20, 2020
d3b57b4
New style io (#36)
chfw Sep 29, 2020
0c1dea4
:hammer: use ISheetWriter interface (#37)
chfw Oct 2, 2020
95ebd8d
:hammer: use module level imports from pyexcel-io
chfw Oct 6, 2020
86a70d5
This is an auto-commit, updating project meta data, such as changelog…
chfw Oct 6, 2020
aec03bb
:hammer: remove useless code
chfw Oct 7, 2020
f8e8b0c
:green_heart: update test case
chfw Oct 7, 2020
82e67d1
:green_heart: remove moban stage
chfw Oct 7, 2020
ac57f60
This is an auto-commit, updating project meta data, such as changelog…
chfw Oct 7, 2020
4ae066b
:handshake: merge dev
chfw Oct 8, 2020
b855715
:bug: update license and moban file
chfw Oct 8, 2020
355779f
:books: update copyright year
chfw Oct 8, 2020
afca061
:lipstick: update badges about moban and black
chfw Oct 8, 2020
52b8fb8
:lipstick: update badges about moban
chfw Oct 8, 2020
03f8e0d
:lipstick: update continuous templating link
chfw Oct 8, 2020
9cb254e
Update pyexcel-xls.yml
chfw Oct 8, 2020
cfe90b4
This is an auto-commit, updating project meta data, such as changelog…
chfw Oct 8, 2020
1424319
Update changelog.yml
chfw Oct 8, 2020
cfb7d3a
This is an auto-commit, updating project meta data, such as changelog…
chfw Oct 8, 2020
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: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: chfw
patreon: chfw
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
With your PR, here is a check list:

- [ ] Has test cases written?
- [ ] Has all code lines tested?
- [ ] Has `make format` been run?
- [ ] Please update CHANGELOG.yml(not CHANGELOG.rst)
- [ ] Passes all Travis CI builds
- [ ] Has fair amount of documentation if your change is complex
- [ ] Agree on NEW BSD License for your contribution
29 changes: 29 additions & 0 deletions .github/workflows/moban-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on: [push]

jobs:
run_moban:
runs-on: ubuntu-latest
name: synchronize templates via moban
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: check changes
run: |
pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
moban
git status
git diff --exit-code
- name: Auto-commit
if: failure()
uses: docker://cdssnc/auto-commit-github-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: >-
This is an auto-commit, updating project meta data,
such as changelog.rst, contributors.rst
84 changes: 80 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
Expand All @@ -43,14 +44,17 @@ pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
Expand All @@ -60,6 +64,7 @@ coverage.xml
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
Expand All @@ -72,16 +77,34 @@ instance/
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

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

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

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# celery beat schedule file
# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py
Expand All @@ -107,6 +130,17 @@ venv.bak/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# VirtualEnv rules
# Virtualenv
Expand Down Expand Up @@ -140,6 +174,7 @@ pip-selfcheck.json
# Windows rules
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

Expand Down Expand Up @@ -238,16 +273,22 @@ flycheck_*.el
# directory configuration
.dir-locals.el

# network security
/network-security.data


# Vim rules
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
Expand All @@ -258,7 +299,7 @@ tags
[._]*.un~

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

# User-specific stuff
Expand All @@ -268,6 +309,9 @@ tags
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
Expand All @@ -281,6 +325,19 @@ tags
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

Expand Down Expand Up @@ -311,6 +368,9 @@ fabric.properties
# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

# SublimeText rules
# Cache files for Sublime Text
*.tmlanguage.cache
Expand All @@ -326,6 +386,7 @@ fabric.properties

# SFTP configuration file
sftp-config.json
sftp-config-alt*.json

# Package control specific files
Package Control.last-run
Expand Down Expand Up @@ -363,6 +424,10 @@ tmtags
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

# Xcode rules
# Xcode
Expand All @@ -389,8 +454,10 @@ DerivedData/
*.perspectivev3
!default.perspectivev3

# Eclipse rules
## Gcc Patch
/*.gcno

# Eclipse rules
.metadata
bin/
tmp/
Expand Down Expand Up @@ -441,12 +508,17 @@ local.properties

# Annotation Processing
.apt_generated/
.apt_generated_test/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

# Uncomment this line if you wish to ignore the project description file.
# Typically, this file would be tracked if it contains build/dependency configurations:
#.project

# TortoiseGit rules
# Project-level settings
/.tgitconfig
Expand All @@ -468,3 +540,7 @@ cscope.files
cscope.out
cscope.in.out
cscope.po.out


# remove moban hash dictionary
.moban.hashes
10 changes: 10 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[settings]
line_length=79
known_first_party=pyexcel,xlrd,xlwt
known_third_party=mock,nose
indent=' '
multi_line_output=3
length_sort=1
default_section=FIRSTPARTY
no_lines_before=LOCALFOLDER
sections=FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER
File renamed without changes.
2 changes: 2 additions & 0 deletions .moban.d/setup.py → .moban.d/custom_setup.py.jj2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
'xlsm'
{%endblock%}

{% block morefiles %}"CONTRIBUTORS.rst",{% endblock %}

{%block additional_classifiers%}
'Programming Language :: Python :: Implementation :: PyPy'
{%endblock%}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'tests/base.py.jj2' %}

{%block ods_types%}
{%endblock%}
{%endblock%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
{%block extras %}
pyexcel
xlrd==1.1.0
moban
black;python_version>="3.6"
isort;python_version>="3.6"
{%endblock%}
29 changes: 0 additions & 29 deletions .moban.d/travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .moban.d/xls_travis.yml.jj2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "travis.yml.jj2" %}
{%block custom_python_versions%}
python:
- 3.8
- 3.7
- 3.6
{%endblock%}

25 changes: 5 additions & 20 deletions .moban.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
overrides: "git://github.com/pyexcel/pyexcel-mobans!/mobanfile.yaml"
configuration:
configuration_dir: "commons/config"
template_dir:
- "commons/templates"
- "setupmobans/templates"
- ".moban.d"
configuration: pyexcel-xls.yml
targets:
- README.rst: README.rst
- setup.py: setup.py
- README.rst: custom_README.rst.jj2
- setup.py: custom_setup.py.jj2
- "docs/source/conf.py": "docs/source/conf.py.jj2"
- .travis.yml: travis.yml
- requirements.txt: requirements.txt
- .travis.yml: xls_travis.yml.jj2
- .gitignore: gitignore.jj2
- MANIFEST.in: MANIFEST.in.jj2
- "tests/requirements.txt": "tests/requirements.txt"
- test.sh: test.script.jj2
- test.bat: test.script.jj2
- "tests/test_filter.py": "tests/test_filter.py.jj2"
- "tests/test_formatters.py": "tests/test_formatters.py.jj2"
- "tests/test_stringio.py": "tests/test_stringio.py.jj2"
- "tests/test_writer.py": "tests/test_writer.py.jj2"
- "tests/base.py": "tests/base.py"
- output: CHANGELOG.rst
configuration: changelog.yml
template: CHANGELOG.rst.jj2
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
Loading