1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

configure flake for black

This commit is contained in:
Patrick Kanzler
2023-07-21 22:30:38 +02:00
parent 01802e5c3d
commit 1b81c5e324
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E,F,W --show-source --statistics
flake8 . --count --select=E,F --exclude --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with tox