Commit Graph

693 Commits

Author SHA1 Message Date
Patrick Kanzler 7b24df6581 remove patch-coverage because we don't use it 2017-03-23 15:35:32 +01:00
Patrick Kanzler 5078c49b3a
add github upload for travis
This automatically uploads succesfull release builds into the GitHub
release.
2017-02-05 15:42:09 +01:00
Patrick Kanzler 4b81a27407 v3.0a (#199) from python-escpos/development
Merge for v3.0a
2017-01-31 04:50:29 +01:00
Patrick Kanzler e8aefd8388
update CHANGELOG 2017-01-31 04:23:26 +01:00
Patrick Kanzler 3ee787e8b1
change license to MIT 2017-01-31 03:55:50 +01:00
Patrick Kanzler b76fb75702
add python36 to travis 2017-01-31 03:29:14 +01:00
Patrick Kanzler 2bcb1766ae
update python versions for travis
this "skips" py36 since it has not been released
2017-01-31 03:23:55 +01:00
Patrick Kanzler e92f00cdf3
fix AttributeError when executing close
When self.device is already None an AttributeError will occur.
This is relevant to #189.
2017-01-30 16:14:58 +01:00
Patrick Kanzler 1038844567
run flake8 in both python2 and python3 2017-01-30 03:01:32 +01:00
Patrick Kanzler 1579f05cb7
use print function in example 2017-01-30 03:00:23 +01:00
Patrick Kanzler f885de2f2a
switch to python2 with flake8 for now 2017-01-30 02:56:15 +01:00
Patrick Kanzler fc5ad1673c
add notice that we could add flake8-docstrings once 2017-01-30 02:44:26 +01:00
Patrick Kanzler 337e8ee19e
add flake8-checks to travis 2017-01-30 02:29:08 +01:00
Patrick Kanzler 81028f9a35
refactor not ... in to ... not in ... 2017-01-30 02:16:22 +01:00
Patrick Kanzler fb18bb34cc
normalize imports 2017-01-30 02:15:40 +01:00
Patrick Kanzler 94a0f2b94b
normalize whitespace 2017-01-30 01:57:36 +01:00
Patrick Kanzler ce94a1fc18
normalize whitespace 2017-01-30 01:52:26 +01:00
Patrick Kanzler ca880dd8ec
remove trailing whitespace in version.py 2017-01-30 01:44:15 +01:00
Patrick Kanzler fc69754a21
constants.py is custom-formatted 2017-01-30 01:42:34 +01:00
Patrick Kanzler b4920aafe2
increase allowed line-length, fix whitespace in cli.py 2017-01-30 01:41:01 +01:00
Patrick Kanzler 43e30707be
add flake8 config 2017-01-30 01:36:07 +01:00
Patrick Kanzler c48a0bee51
use not in instead of not ... in 2017-01-30 00:50:58 +01:00
Patrick Kanzler 972c7a2238
use explicit import from constants 2017-01-30 00:44:54 +01:00
Patrick Kanzler c2fc464c55
reformat PEP8 and similar issues 2017-01-30 00:10:14 +01:00
Patrick Kanzler 2ea8e69c66
style fixes 2017-01-29 23:39:26 +01:00
Patrick Kanzler e4a21e94fc
improve doc, improve codepage_tables.py 2017-01-29 23:36:33 +01:00
Patrick Kanzler e904500312
link to escpos-printer-db 2017-01-29 23:20:11 +01:00
Patrick Kanzler efff2cbe43
update changelog 2017-01-29 22:57:12 +01:00
Patrick Kanzler d3f76a5f6d
doc update modules in autogeneration 2017-01-29 22:33:15 +01:00
Patrick Kanzler e595bc2150
doc update methods and printers and use autodoc 2017-01-26 00:28:33 +01:00
Thijs Triemstra 7bf6a1791b Correct fragment_height documentation default (#198) 2017-01-25 23:56:06 +01:00
Patrick Kanzler a15d02b50c change dependency to docutils to newer version of sphinx
This is a revert to f8b7238801
2017-01-06 18:05:59 +01:00
Asuki Kono 938f9890ab Update doc about installation for raspi (#194)
* Update dec about installation for raspi

* Rollback syntax about warning on raspi doc

* Add a link of installation-manual on raspi doc

* Update last reviewed date for raspi doc
2017-01-05 21:51:07 +01:00
Patrick Kanzler 1e5a41ba4e Merge pull request #193 from python-escpos/fix-docutils-problem
downgrade docutils
2016-12-09 21:33:32 +01:00
Patrick Kanzler f8b7238801
downgrade docutils
version 0.13 of docutils seems to have problems. See
sphinx-doc/sphinx#3212
2016-12-09 21:24:57 +01:00
Patrick Kanzler e35f551a56 Merge pull request #192 from thijstriemstra/patch-1
Documentation update
2016-12-09 21:16:43 +01:00
Thijs Triemstra 24731f433e fix typos 2016-12-09 16:56:23 +01:00
Thijs Triemstra 6158ba344f fix typos 2016-12-09 16:42:23 +01:00
Patrick Kanzler 78604573f3 Merge pull request #191 from python-escpos/update-raspi-doc
update doc-page on Raspi
2016-12-07 21:01:27 +01:00
Patrick Kanzler bd57c01794
update doc-page on Raspi 2016-12-07 20:31:49 +01:00
Michael Billington 211e7db22c Merge pull request #188 from mike42/ysuolmai-patch-1
Update raspi.rst
2016-11-25 21:55:35 +11:00
ysuolmai da0d49c787 Update raspi.rst 2016-11-25 21:44:47 +11:00
Patrick Kanzler 46305faf30 Merge pull request #182 from miracle2k/examples
Add script to output codepage tables.
2016-10-05 14:41:12 +02:00
Michael Elsdörfer 94e1944d16 Add script to output codepage tables. 2016-10-05 12:14:51 +02:00
Patrick Kanzler 13785a5530 Merge pull request #181 from mike42/bugfix/fragment-height
Swap default image fragment height to 960
2016-10-04 11:06:47 +02:00
Michael 10c589ae8d swap default fragment height to 960 2016-10-04 14:01:26 +11:00
Patrick Kanzler cd38cdf74e Merge pull request #170 from miracle2k/text-encoding
Text encoding
2016-09-29 19:23:54 +02:00
Patrick Kanzler f50910f76e Merge pull request #179 from belono/development
Add support for custom cash drawer kick sequence
2016-09-29 10:28:03 +02:00
Michael Elsdörfer 398eb424a9 "Merge pull request #2 from patkan/miracle2k-text-encoding\n\nfix file-printer-tests by using pytest-mock" 2016-09-29 01:33:16 +02:00
Patrick Kanzler 1b2f509758
use jaconv instead of jcconv for japanese chars
jaconv is available for more Python-versions and seems to be more
professional. Apart from that I added jaconv to the test-requirements
but not the requirements. (If the katakana-stuff really works we can
later add it as a real dependency)
2016-09-27 20:31:39 +02:00