1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-22 15:06:05 +01:00

Sort the list of dependencies in toot diag output

This commit is contained in:
Daniel Schwarz 2024-07-03 10:11:24 -04:00
parent abe17695ba
commit 62fa59cc06

View File

@ -341,9 +341,9 @@ def print_diags(include_files: bool):
click.echo(f'{green(f"Python version:")} {platform.python_version()}')
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',
'vermin', 'typing-extensions']
'vermin', 'typing-extensions'])
for dep in deps:
try: