ruff linting fixes (#343)

* ruff linting fixes

* move imports back down to where they're re-exported
This commit is contained in:
Gretchen Leigh Miller 2025-03-07 16:03:35 -08:00 committed by GitHub
parent 6f011cc6c8
commit f64db214d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 155 additions and 190 deletions

View file

@ -40,11 +40,11 @@ def cli_commands():
commands = set(console_scripts().keys())
commands.remove("brozzler-wayback")
try:
import gunicorn
import gunicorn # noqa: F401
except ImportError:
commands.remove("brozzler-dashboard")
try:
import pywb
import pywb # noqa: F401
except ImportError:
commands.remove("brozzler-easy")
return commands