A. Gordon
3aceea418d
Merge 06b448191b8a7f61cd2b5078508cf08f4acf269e into b85d5b907d0de05fc217c98c8810edc97399b3c1
2025-04-28 08:08:25 +00:00
dependabot[bot]
b85d5b907d
Bump actions/setup-python from 5.5.0 to 5.6.0 ( #682 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.5.0...v5.6.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 5.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-24 18:13:59 +02:00
dependabot[bot]
3dfbf15fa5
Bump actions/setup-python from 5.4.0 to 5.5.0 ( #681 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.4.0...v5.5.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 13:16:11 +01:00
Patrick Kanzler
9b695d698b
exclude .venv from flake8
2025-03-16 15:52:23 +01:00
dependabot[bot]
7ec59c41a2
Bump jinja2 from 3.1.5 to 3.1.6 in /examples/docker-flask ( #679 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 13:35:25 +01:00
Benito López
a394826d69
Docs: profile usage additions and clarifications ( #677 )
...
* Add link to github
* Add profile params to 'Documentation and Usage'
* More profile additions and clarifications
* Fix code style
* Fix Include link to github in documentation topbar
* Fix Black code style
* Fix GH link
* Fix GH link path
---------
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2025-02-21 21:01:40 +01:00
Benito López
e383b7a397
Fix wrong font choices ( #676 )
...
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2025-02-21 10:59:43 +01:00
dependabot[bot]
e39ec9e50d
Bump codecov/codecov-action from 4 to 5 ( #668 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 10:53:59 +01:00
dependabot[bot]
dc0d9e6bf6
Bump jinja2 from 3.1.4 to 3.1.5 in /examples/docker-flask ( #671 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 10:45:27 +01:00
dependabot[bot]
5d943566c9
Bump actions/setup-python from 5.3.0 to 5.4.0 ( #674 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2025-02-21 10:37:15 +01:00
Benito López
3e8525673b
New feature: Software columns - Part 4: Examples ( #673 )
...
* Add software_colums example
* Fix docs build
2025-02-21 10:33:28 +01:00
dependabot[bot]
0a1d3841f1
Bump sphinx-rtd-theme from 3.0.1 to 3.0.2 ( #666 )
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 3.0.1 to 3.0.2.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/3.0.1...3.0.2 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 16:40:30 +01:00
dependabot[bot]
27def759ba
Bump werkzeug from 3.0.3 to 3.0.6 in /examples/docker-flask ( #664 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 3.0.3 to 3.0.6.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-26 05:51:10 +02:00
dependabot[bot]
8c44d8e64e
Bump actions/setup-python from 5.2.0 to 5.3.0 ( #663 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 20:51:49 +02:00
dependabot[bot]
7d42f11716
Bump sphinx-rtd-theme from 2.0.0 to 3.0.1 ( #661 )
...
* Bump sphinx-rtd-theme from 2.0.0 to 3.0.1
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 2.0.0 to 3.0.1.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/2.0.0...3.0.1 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* remove call to get_html_theme_path
according to deprection warning of sphinx-rtd-theme>=3
* disable broken spelling integration (pypi) and fix spelling
* fix spelling
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
2024-10-10 15:00:28 +02:00
Patrick Kanzler
06b448191b
Merge branch 'master' into master
2024-09-03 23:59:15 +02:00
dependabot[bot]
5cdff0b56e
Bump actions/setup-python from 5.1.1 to 5.2.0 ( #655 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.1.1...v5.2.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 14:52:10 +02:00
Patrick Kanzler
6cd35747d2
Merge branch 'master' into master
2024-08-25 00:51:50 +02:00
Patrick Kanzler
e19483a852
Update examples/font_variations.py
...
Co-authored-by: Benito López <belono@users.noreply.github.com>
2024-08-25 00:51:07 +02:00
Patrick Kanzler
5894f0aeeb
Update examples/block_text.py
...
Co-authored-by: Benito López <belono@users.noreply.github.com>
2024-08-25 00:50:54 +02:00
aerialist
f42410603d
Add sleep in sending fragments ( #624 )
...
* Add sleep in sending fragments
Adding sleep prevents "USBTimeoutError: [Errno 110] Operation timed out".
* change sorting
* make sleep configurable
* add spelling
---------
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
2024-08-25 00:50:27 +02:00
Patrick Kanzler
22982fbd12
update organize import trigger, update capabilities data, fix mypy ( #654 )
...
* update organize import trigger
* update capabilities data
* fix mypy error (jaconv is using a import hack)
2024-08-25 00:21:47 +02:00
Benito López
82386f7496
New feature: Software columns - Part 3: Tests ( #651 )
...
* Add test_function_software_columns.py
* Improve coverage
2024-08-24 23:29:00 +02:00
Patrick Kanzler
a831fd3cfa
Update examples/receipt.py
...
Change import sorting
Co-authored-by: Benito López <belono@users.noreply.github.com>
2024-08-24 23:25:43 +02:00
Assaf Gordon
5f91b480f5
Examples: add fake receipt demo
2024-08-05 02:02:11 -06:00
Assaf Gordon
f51af2765b
Examples: add block_text usage demo
2024-08-05 02:02:11 -06:00
Assaf Gordon
f63b0a77ce
Examples: add font-variations demo
2024-08-05 02:02:11 -06:00
Benito López
99501cc2c1
New feature: Software columns - Part 2: CLI ( #649 )
...
* Add software_columns CLI parameter
* Fix sorting
---------
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2024-07-19 22:23:52 +02:00
Psychpsyo
3aaf203ceb
Fix typo in README ( #650 )
2024-07-19 22:18:09 +02:00
Benito López
a8753a1121
New feature: Software columns ( #645 )
...
* add type hint Alignment
* Add static method padding()
* Add static method truncate()
* Add static method _repeat_last()
* Add private method _rearrange_into_cols()
* Add private method _add_padding_into_cols()
* Add public method software_columns
* Make truncate and padding private staticmethods
* Revert "add type hint Alignment"
This reverts commit 546391cb9c3d246d536cb5abb269ed4d36e175ce.
* Add type hint Alignment
* Fix typo in docstring
---------
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2024-07-11 17:13:34 +02:00
dependabot[bot]
5af01641d9
Bump actions/setup-python from 5.1.0 to 5.1.1 ( #648 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 16:41:42 +02:00
Benito López
fe3cdde424
Clarify set() width and height documentation ( #644 )
2024-05-24 23:21:54 +02:00
dependabot[bot]
4c02881fe7
Bump jinja2 from 3.1.3 to 3.1.4 in /examples/docker-flask ( #642 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 22:54:24 +02:00
dependabot[bot]
82f5a00b8d
Bump werkzeug from 3.0.1 to 3.0.3 in /examples/docker-flask ( #641 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 21:40:03 +02:00
Benito López
1e9adb80f3
Fix CLI not working for some connectors Fixes #639 ( #640 )
2024-04-29 23:50:52 +02:00
dependabot[bot]
640f6089ac
Bump pillow from 10.2.0 to 10.3.0 in /examples/docker-flask ( #634 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 21:04:35 +02:00
dependabot[bot]
a8a9d0f0ad
Bump codecov/codecov-action from 3 to 4 ( #625 )
...
* Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* add codecov token
* add codecov token
* remove directory config
* adapt excludes
* exclude mypy_cache
* glob
* exclude
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
2024-04-02 01:23:56 +02:00
dependabot[bot]
f781e28a69
Bump actions/setup-python from 5.0.0 to 5.1.0 ( #632 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.0.0...v5.1.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 00:03:22 +02:00
dependabot[bot]
62c234f6f1
Bump pillow from 10.0.1 to 10.2.0 in /examples/docker-flask ( #623 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.0.1 to 10.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.2.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 23:25:38 +01:00
dependabot[bot]
4ba98c0017
Bump jinja2 from 3.1.2 to 3.1.3 in /examples/docker-flask ( #620 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 12:24:41 +01:00
Wesley Appler
a865b715f3
Fixed lack of spacing for multi-line strings ( #619 )
...
Co-authored-by: Wes Appler <wes@lamemakes>
2024-01-11 12:35:03 +01:00
dependabot[bot]
776b8a26ad
Bump capabilities-data from 4006299
to 375135d
( #616 )
...
Bumps [capabilities-data](https://github.com/receipt-print-hq/escpos-printer-db ) from `4006299` to `375135d`.
- [Commits](4006299c0f...375135d552
)
---
updated-dependencies:
- dependency-name: capabilities-data
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 12:37:20 +01:00
Patrick Kanzler
9b0d126da2
prepare for new development ( #615 )
2023-12-17 23:10:44 +01:00
Patrick Kanzler
0d22896689
Prepare release 3.1 ( #614 )
...
* update authors
* update changelog
* update spelling
* update black
v3.1
2023-12-17 22:53:19 +01:00
Patrick Kanzler
b66dafc90e
improve type annotations in tests ( #613 )
2023-12-17 01:15:59 +01:00
Patrick Kanzler
0c824cf295
More mypy ( #612 )
...
* remove type comment where type is annotated
* move function tests
* remove six from tests
* add none annotations
* add more types
* change mock (so that mypy understands it)
2023-12-16 23:09:20 +01:00
Alexandre Detiste
66a2e78e16
start removal of six and improve type annotation ( #607 )
...
* fix unfinished Python2 -> 3 translation
* remove some six usage
* annotate
* fix regression in Six removal
* mypy: self.enf is always defined
* fix return type of cups.py
* Usb idVendor/idProduct are integers
* self.default_args is always defined
* tweak usb_args, PEP589 is better
* lp.py: reassure mypy
* correctly cast call to CashDrawerError()
* update CUPS test
* add missing close() method in metaclass
* document a bug in typeshed
* query_status() returns bytes as seen in constants.py
* remove more SIX usage
* test examples too
* remove type comment where type is annotated
* adapt behavior of cups printer to match other implementations
---------
Co-authored-by: Patrick Kanzler <dev@pkanzler.de>
Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
2023-12-16 22:02:24 +01:00
dependabot[bot]
06bdb56937
Bump github/codeql-action from 2 to 3 ( #610 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 11:53:52 +01:00
Patrick Kanzler
91cbc264fc
Refactor to using f-strings ( #608 )
...
* update authors
* refactor to using f-strings
2023-12-11 00:34:29 +01:00
tuxmaster
dcc71ce47d
argparse is an part of the python core ( #606 )
2023-12-09 21:26:19 +01:00