python: Reorder imports with isort

Related to T2610
This commit is contained in:
Antoine Lambert 2020-09-17 17:47:55 +02:00
parent d24846a957
commit 22f7181294
69 changed files with 136 additions and 168 deletions

View file

@ -4,8 +4,8 @@
def register():
from .models import CRANModel
from .lister import CRANLister
from .models import CRANModel
return {
"models": [CRANModel],

View file

@ -5,17 +5,15 @@
import json
import logging
import pkg_resources
import subprocess
from typing import List, Mapping, Tuple
from swh.lister.cran.models import CRANModel
import pkg_resources
from swh.lister.core.simple_lister import SimpleLister
from swh.lister.cran.models import CRANModel
from swh.scheduler.utils import create_task_dict
logger = logging.getLogger(__name__)

View file

@ -4,12 +4,12 @@
# See top-level LICENSE file for more information
import json
import pytest
from os import path
from unittest.mock import patch
from swh.lister.cran.lister import compute_origin_urls, CRAN_MIRROR
import pytest
from swh.lister.cran.lister import CRAN_MIRROR, compute_origin_urls
def test_cran_compute_origin_urls():