Merge branch 'master' into development

This commit is contained in:
Patrick Kanzler 2023-04-19 22:27:56 +02:00 committed by GitHub
commit 1626af5def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,13 @@
name: Lint name: Lint (Black code style)
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
lint: black-code-style:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: psf/black@stable - uses: psf/black@stable
with:
version: "23.3.0"

View File

@ -26,6 +26,6 @@ jobs:
run: run:
sudo apt-get update -y && sudo apt-get update -y &&
sudo apt-get install -y git python3-sphinx graphviz libenchant-2-2 && sudo apt-get install -y git python3-sphinx graphviz libenchant-2-2 &&
sudo pip install tox sudo pip install tox pycups
- name: Test doc build - name: Test doc build
run: tox -e docs run: tox -e docs

View File

@ -592,7 +592,6 @@ class Escpos(object):
text_distance=1, text_distance=1,
center=True, center=True,
): ):
image_writer = ImageWriter() image_writer = ImageWriter()
# Check if barcode type exists # Check if barcode type exists

View File

@ -255,7 +255,6 @@ def test_align_right():
def test_densities(): def test_densities():
for density in range(8): for density in range(8):
instance = printer.Dummy() instance = printer.Dummy()
instance.set(density=density) instance.set(density=density)