upgrade to isort5 (#4399)

* Imports are no longer moved to top.
* `seed-isort-config` is no longer needed.
* Has a `black`-compatible profile/config.
* Also `isorts` the imports anywhere in the code
  (not just at the top).

Also bumps `restyled-isort` to newest version
This commit is contained in:
Saugat Pachhai
2020-08-17 19:59:40 +05:45
committed by GitHub
parent 31e9cc2e40
commit c4bc4c83e8
39 changed files with 82 additions and 70 deletions
+2
View File
@@ -152,6 +152,7 @@ def _parse_list(param_list):
def _show_experiments(all_experiments, console, precision=None, **kwargs):
from rich.table import Table
from dvc.scm.git import Git
include_metrics = _parse_list(kwargs.get("include_metrics", []))
@@ -193,6 +194,7 @@ def _show_experiments(all_experiments, console, precision=None, **kwargs):
class CmdExperimentsShow(CmdBase):
def run(self):
from rich.console import Console
from dvc.utils.pager import pager
if not self.repo.experiments: