Apply suggestions from code review
Co-authored-by: kvid <kvid@users.noreply.github.com>
This commit is contained in:
parent
9d1700c4a0
commit
0fed30aa05
@ -137,7 +137,7 @@ mywire.tsv BOM (bill of materials) as tab-separated text file
|
|||||||
mywire.html HTML page with wiring diagram and BOM embedded
|
mywire.html HTML page with wiring diagram and BOM embedded
|
||||||
```
|
```
|
||||||
|
|
||||||
Wildcars in the file path are also supported to process multiple files at once, e.g.:
|
Wildcards in the file path are also supported to process multiple files at once, e.g.:
|
||||||
```
|
```
|
||||||
$ wireviz ~/path/to/files/*.yml
|
$ wireviz ~/path/to/files/*.yml
|
||||||
```
|
```
|
||||||
|
|||||||
@ -31,7 +31,11 @@ epilog = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@click.command(epilog=epilog, no_args_is_help=True)
|
@click.command(
|
||||||
|
epilog=epilog,
|
||||||
|
no_args_is_help=True,
|
||||||
|
context_settings=dict(help_option_names=["-h", "--help"]),
|
||||||
|
)
|
||||||
@click.argument("file", nargs=-1)
|
@click.argument("file", nargs=-1)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-f",
|
"-f",
|
||||||
|
|||||||
@ -22,8 +22,8 @@ from wireviz.wv_colors import (
|
|||||||
)
|
)
|
||||||
from wireviz.wv_utils import (
|
from wireviz.wv_utils import (
|
||||||
NumberAndUnit,
|
NumberAndUnit,
|
||||||
awg_equiv,
|
|
||||||
aspect_ratio,
|
aspect_ratio,
|
||||||
|
awg_equiv,
|
||||||
mm2_equiv,
|
mm2_equiv,
|
||||||
parse_number_and_unit,
|
parse_number_and_unit,
|
||||||
remove_links,
|
remove_links,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user