Codebase list pyexcel-ods / 07ee703
:handshake: update project meta data and :lipstick: update coding style chfw 3 years ago
10 changed file(s) with 41 addition(s) and 41 deletion(s). Raw diff Collapse all Expand all
00 With your PR, here is a check list:
11
2 - [ ] Has Test cases written
3 - [ ] Has all code lines tested
2 - [ ] Has test cases written?
3 - [ ] Has all code lines tested?
44 - [ ] Has `make format` been run?
55 - [ ] Please update CHANGELOG.yml(not CHANGELOG.rst)
66 - [ ] Passes all Travis CI builds
77 - [ ] Has fair amount of documentation if your change is complex
8 - [ ] run 'make format' so as to confirm the pyexcel organisation's coding style
9 - [ ] Please add yourself to 'contributors' section of pyexcel-ods.yml (if not found, please use CONTRIBUTORS.rst)
108 - [ ] Agree on NEW BSD License for your contribution
44 runs-on: ubuntu-latest
55 name: synchronize templates via moban
66 steps:
7 - uses: actions/checkout@v2
8 with:
9 ref: ${{ github.head_ref }}
10 - name: Set up Python
11 uses: actions/setup-python@v1
12 with:
13 python-version: '3.7'
14 - name: check changes
15 run: |
16 pip install moban gitfs2 pypifs
17 moban
18 git status
19 git diff --exit-code
20 - name: Auto-commit
21 if: failure()
22 uses: docker://cdssnc/auto-commit-github-action
23 env:
24 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 with:
26 args: This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst
7 - uses: actions/checkout@v2
8 with:
9 ref: ${{ github.head_ref }}
10 - name: Set up Python
11 uses: actions/setup-python@v1
12 with:
13 python-version: '3.7'
14 - name: check changes
15 run: |
16 pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
17 moban
18 git status
19 git diff --exit-code
20 - name: Auto-commit
21 if: failure()
22 uses: docker://cdssnc/auto-commit-github-action
23 env:
24 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 with:
26 args: >-
27 This is an auto-commit, updating project meta data,
28 such as changelog.rst, contributors.rst
539539 cscope.out
540540 cscope.in.out
541541 cscope.po.out
542
543
544 # remove moban hash dictionary
545 .moban.hashes
0
01
12 3 contributors
23 ================================================================================
34
45 In alphabetical order:
56
6 * `Azamat H. Hackimov <https://api.github.com/users/winterheart>`_
7 * `John Vandenberg <https://api.github.com/users/jayvdb>`_
8 * `Mateusz Konieczny <https://api.github.com/users/matkoniecz>`_
7 * `Azamat H. Hackimov <https://github.com/winterheart>`_
8 * `John Vandenberg <https://github.com/jayvdb>`_
9 * `Mateusz Konieczny <https://github.com/matkoniecz>`_
44
55 install_test:
66 pip install -r tests/requirements.txt
7
8 git-diff-check:
9 git diff --exit-code
107
118 lint:
129 bash lint.sh
00 pip install flake8
1 flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long
2 python setup.py checkdocs
1 flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
2020 # See the License for the specific language governing permissions and
2121 # limitations under the License.
2222
23 import pyexcel_io.service as service
2324 from odf.text import P
2425 from odf.table import Table, TableRow, TableCell
2526
2627 # Thanks to grt for the fixes
2728 from odf.teletype import extractText
2829 from odf.namespaces import OFFICENS
30 from pyexcel_io.book import BookReader
2931 from odf.opendocument import load
30
31 import pyexcel_io.service as service
32 from pyexcel_io.book import BookReader
3332 from pyexcel_io.sheet import SheetReader
3433 from pyexcel_io._compact import OrderedDict
3534
88 """
99 import sys
1010
11 import pyexcel_io.service as converter
1112 from odf.text import P
1213 from odf.table import Table, TableRow, TableCell
1314 from odf.namespaces import OFFICENS
15 from pyexcel_io.book import BookWriter
1416 from odf.opendocument import OpenDocumentSpreadsheet
15
16 import pyexcel_io.service as converter
17 from pyexcel_io.book import BookWriter
1817 from pyexcel_io.sheet import SheetWriter
1918
2019 PY2 = sys.version_info[0] == 2
11 # -*- encoding: utf-8 -*-
22 import os
33
4 import psutil
45 import pyexcel as pe
56 from pyexcel_ods import get_data, save_data
7 from pyexcel_io.exceptions import IntegerAccuracyLossError
68
7 import psutil
89 from nose import SkipTest
910 from nose.tools import eq_, raises
10 from pyexcel_io.exceptions import IntegerAccuracyLossError
1111
1212 IN_TRAVIS = "TRAVIS" in os.environ
1313
00 import os
11
2 from pyexcel_io import get_data, save_data
3
24 from nose.tools import eq_
3 from pyexcel_io import get_data, save_data
45
56
67 class TestFilter: