mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-23 15:00:36 -04:00
ruff linting fixes (#343)
* ruff linting fixes * move imports back down to where they're re-exported
This commit is contained in:
parent
6f011cc6c8
commit
f64db214d4
18 changed files with 155 additions and 190 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue