Page MenuHomeSoftware Heritage
Paste P783

Command-Line Input
ActivePublic

Authored by olasd on Sep 25 2020, 2:05 PM.
commit a7a17e7ed6a45941d04e30f239a6e6eb62ecca25
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date: Fri Sep 25 14:05:40 2020 +0200
Pin black in tox to the same version as pre-commit
diff --git a/tox.ini b/tox.ini
index cbdb899..83f06d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ commands =
[testenv:black]
skip_install = true
deps =
- black
+ black==19.10b0
commands =
{envpython} -m black --check swh
commit 38a8e7f14e487eb9da96ae44f8ea5f0c01a3135d
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date: Fri Sep 25 14:04:47 2020 +0200
Run isort on the changes of f10d3d87cbcb0cb80e6ebfd1c3ea699bb11040f5
diff --git a/swh/scanner/cli.py b/swh/scanner/cli.py
index 1ff3e80..2fb15be 100644
--- a/swh/scanner/cli.py
+++ b/swh/scanner/cli.py
@@ -11,7 +11,8 @@ from typing import Any, Dict
import click
from swh.core import config
-from swh.core.cli import CONTEXT_SETTINGS, swh as swh_cli_group
+from swh.core.cli import CONTEXT_SETTINGS
+from swh.core.cli import swh as swh_cli_group
# All generic config code should reside in swh.core.config
DEFAULT_CONFIG_PATH = os.environ.get(