mirror of
https://github.com/ihabunek/toot.git
synced 2025-02-02 15:07:51 -05:00
Sort the list of dependencies in toot diag output
This commit is contained in:
parent
abe17695ba
commit
62fa59cc06
@ -341,9 +341,9 @@ def print_diags(include_files: bool):
|
|||||||
click.echo(f'{green(f"Python version:")} {platform.python_version()}')
|
click.echo(f'{green(f"Python version:")} {platform.python_version()}')
|
||||||
click.echo(green("Dependency versions:"))
|
click.echo(green("Dependency versions:"))
|
||||||
|
|
||||||
deps = ['beautifulsoup4', 'click', 'requests', 'tomlkit', 'urwid', 'wcwidth',
|
deps = sorted(['beautifulsoup4', 'click', 'requests', 'tomlkit', 'urwid', 'wcwidth',
|
||||||
'pillow', 'term-image', 'urwidgets', 'flake8', 'pytest', 'setuptools',
|
'pillow', 'term-image', 'urwidgets', 'flake8', 'pytest', 'setuptools',
|
||||||
'vermin', 'typing-extensions']
|
'vermin', 'typing-extensions'])
|
||||||
|
|
||||||
for dep in deps:
|
for dep in deps:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user