Add black to requirements and improve UI

fix #22
This commit is contained in:
Ircama
2024-09-20 07:51:02 +02:00
parent 4293959e3a
commit 2b77c8065a
3 changed files with 19 additions and 11 deletions

View File

@@ -287,8 +287,6 @@ optional arguments:
Generate printer configuration from devices.xml
```
The output is better formatted when also installing [black](https://pypi.org/project/black/).
The program does not provide *printer_head_id* and *Power off timer*.
#### Example to integrate new printers
@@ -493,7 +491,7 @@ from pprint import pprint
pprint(printer.parm)
```
"black" way to dump all printer parameters:
[black](https://pypi.org/project/black/) way to dump all printer parameters:
```python
import textwrap, black