Patrick Kanzler
d68f187d64
Merge branch 'master' into master
2023-12-15 14:18:44 +01:00
Patrick Kanzler
3fb52f4d9d
test examples too
2023-12-15 14:13:16 +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
Alexandre Detiste
7ad4396b48
isort
2023-12-14 00:53:24 +01:00
Alexandre Detiste
99b9484c4b
remove more SIX usage
2023-12-14 00:26:30 +01:00
Alexandre Detiste
0f2ee2b8b5
query_status() returns bytes as seen in constants.py
2023-12-13 23:24:20 +01:00
Alexandre Detiste
180721c03c
document a bug in typeshed
2023-12-13 22:55:30 +01:00
Alexandre Detiste
aa2e5cd819
add missing close() method in metaclass
2023-12-13 22:08:47 +01:00
Alexandre Detiste
254eae07ef
update CUPS test
2023-12-13 21:59:48 +01:00
Alexandre Detiste
45829b8ecb
pyflakes3
2023-12-13 21:47:01 +01:00
Alexandre Detiste
512a5ff24a
correctly cast call to CashDrawerError()
2023-12-13 21:44:10 +01:00
Alexandre Detiste
e7db5a9b4e
run black
2023-12-13 21:39:31 +01:00
Alexandre Detiste
11474723e2
lp.py: reassure mypy
2023-12-13 21:29:25 +01:00
Alexandre Detiste
fb6b9d94a2
tweak usb_args, PEP589 is better
2023-12-13 21:27:03 +01:00
Alexandre Detiste
44893f95cf
self.default_args is always defined
2023-12-13 21:23:49 +01:00
Alexandre Detiste
a0ec58d213
Usb idVendor/idProduct are integers
2023-12-13 21:21:44 +01:00
Alexandre Detiste
a8e38bed9a
fix return type of cups.py
2023-12-13 21:18:15 +01:00
Alexandre Detiste
56cabcedd7
mypy: self.enf is always defined
2023-12-11 01:04:02 +01:00
Patrick Kanzler
e6380d1fc6
Revert "use Type instead of type"
...
This reverts commit 369e709fc29d82b0d7d92009dc9c6f37c1190e65.
2023-12-11 00:48:17 +01:00
Alexandre Detiste
9a941e8746
from __future__ import annotations
2023-12-11 00:44:30 +01:00
Patrick Kanzler
369e709fc2
use Type instead of type
2023-12-11 00:42:38 +01:00
Patrick Kanzler
1f232fad87
Merge remote-tracking branch 'origin/master' into pr/a-detiste/607
2023-12-11 00:35:51 +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
Alexandre Detiste
8c8660bb8f
fix regression in Six removal
2023-12-10 23:46:24 +01:00
Alexandre Detiste
324a236ae6
pyflakes3
2023-12-10 22:59:37 +01:00
Alexandre Detiste
5bd936b585
run isort & black
2023-12-10 22:47:32 +01:00
Alexandre Detiste
6aec41fbd8
annotate
2023-12-10 02:49:26 +01:00
Alexandre Detiste
35565d5564
remove some six usage
2023-12-10 01:56:31 +01:00
Alexandre Detiste
bea4f29d28
fix unfinished Python2 -> 3 translation
...
found by mypy
2023-12-10 01:54:48 +01:00
tuxmaster
dcc71ce47d
argparse is an part of the python core ( #606 )
2023-12-09 21:26:19 +01:00
dependabot[bot]
d2b213dcdc
Bump actions/setup-python from 4.8.0 to 5.0.0 ( #605 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.8.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.8.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
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-07 23:52:37 +01:00
dependabot[bot]
c91eec544e
Bump actions/setup-python from 4.7.1 to 4.8.0 ( #604 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.7.1...v4.8.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>
2023-12-06 00:45:25 +01:00
Patrick Kanzler
a9e49c909d
Update CHANGELOG.rst ( #603 )
2023-12-06 00:31:12 +01:00
Patrick Kanzler
815f247df1
Improve test coverage and fix issue in path loading ( #602 )
...
* reactivate skipped tests
* remove unused internal interfaces
* enable pytest in VS Code
* simplify and fix path logic in loader
* increase test coverage
* test missing config
* check for wrong printer names
* Skipped appdir test
2023-12-06 00:25:36 +01:00
Patrick Kanzler
5914c7c560
allow qr to set all arguments to image ( #600 )
...
* allow qr to set all arguments to image
* increase coverage
2023-12-04 01:15:19 +01:00
Patrick Kanzler
86a715cf02
update capabilities data ( #601 )
2023-12-04 01:11:05 +01:00
Patrick Kanzler
ac23c083b6
update to newest python-barcode ( #595 )
...
* update to newest python-barcode
2023-12-03 23:57:34 +01:00
Patrick Kanzler
9a1699ab94
add type annotations for escpos image handler ( #599 )
2023-12-03 23:36:35 +01:00
dependabot[bot]
8274833255
Bump sphinx-rtd-theme from 1.3.0 to 2.0.0 ( #596 )
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 1.3.0 to 2.0.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.3.0...2.0.0 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 08:38:40 +01:00
Patrick Kanzler
33d17615a0
prepare next release development cycle ( #594 )
2023-11-17 01:12:31 +01:00
Patrick Kanzler
90c89e66f0
filter for ValueError too in dpi logic
v3.0
2023-11-17 00:48:31 +01:00
Patrick Kanzler
8f44ae7480
update changelog
2023-11-17 00:48:31 +01:00
Patrick Kanzler
ff5631c989
update authors
2023-11-17 00:48:31 +01:00
Patrick Kanzler
ecf3fbcc25
update capabilities data
2023-11-17 00:48:31 +01:00
Patrick Kanzler
678f8d2451
Merge pull request #579 from python-escpos:update-changelog
...
update changelog for new v3 release
2023-11-16 23:39:30 +01:00
Patrick Kanzler
a127c7b9c4
Merge branch 'master' into update-changelog
2023-11-16 23:32:22 +01:00
Patrick Kanzler
72d26879a0
Apply suggestions from code review
2023-11-01 19:37:38 +01:00
Benito López
3b6551004f
Restore types-pywin32 ( #591 )
...
* Restore types-pywin32 dependency
* Restore pywin32 type annotations in win32raw
* Add return type to _raw()
2023-10-31 13:55:48 +01:00
Patrick Kanzler
5d3d2ca34b
import TypedDict from typing, not from extensions ( #589 )
...
TypedDict is in the supported python versions
available in typing. Therefore an import from
potentially uninstalled typing_extensions is
not necessary.
fixes #560
2023-10-28 21:11:38 +02:00
Patrick Kanzler
d2ef5159c5
Merge branch 'master' into update-changelog
2023-10-28 20:53:21 +02:00