mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-15 11:04:17 +02:00
fix lint errors
This commit is contained in:
@@ -9,7 +9,6 @@ DO NOT ADD ANY NEW FEATURES TO THIS FILE, NEW CODE GOES HERE: core/models.py
|
|||||||
__package__ = 'archivebox.index'
|
__package__ = 'archivebox.index'
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from django.db.utils import OperationalError
|
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
|
@@ -69,7 +69,6 @@ from .config import (
|
|||||||
ANSI,
|
ANSI,
|
||||||
IS_TTY,
|
IS_TTY,
|
||||||
IN_DOCKER,
|
IN_DOCKER,
|
||||||
PYTHON_VERSION,
|
|
||||||
USER,
|
USER,
|
||||||
ARCHIVEBOX_BINARY,
|
ARCHIVEBOX_BINARY,
|
||||||
ONLY_NEW,
|
ONLY_NEW,
|
||||||
@@ -219,7 +218,7 @@ def version(quiet: bool=False,
|
|||||||
else:
|
else:
|
||||||
print('ArchiveBox v{}'.format(VERSION))
|
print('ArchiveBox v{}'.format(VERSION))
|
||||||
p = platform.uname()
|
p = platform.uname()
|
||||||
print(sys.implementation.name.title(), p.system, platform.platform(), p.machine, f'(in Docker)' if IN_DOCKER else f'(not in Docker)')
|
print(sys.implementation.name.title(), p.system, platform.platform(), p.machine, '(in Docker)' if IN_DOCKER else '(not in Docker)')
|
||||||
print()
|
print()
|
||||||
|
|
||||||
print('{white}[i] Dependency versions:{reset}'.format(**ANSI))
|
print('{white}[i] Dependency versions:{reset}'.format(**ANSI))
|
||||||
|
Reference in New Issue
Block a user