re-order imports using ruff
This commit is contained in:
parent
8222cf135b
commit
022e6afbf6
6 changed files with 7 additions and 7 deletions
|
|
@ -4,11 +4,11 @@ import sys
|
|||
from typing import List
|
||||
|
||||
from .combine import combine_command
|
||||
from .eval import eval_command
|
||||
from .format_manifest import format_manifest_command
|
||||
from .index import index_command
|
||||
from .path import ROOT
|
||||
from .update import update_command
|
||||
from .eval import eval_command
|
||||
|
||||
LOG_LEVELS = dict(
|
||||
debug=logging.DEBUG,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
import os
|
||||
import subprocess
|
||||
import tempfile
|
||||
import os
|
||||
from argparse import Namespace
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlparse
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ import shutil
|
|||
from contextlib import contextmanager
|
||||
from pathlib import Path
|
||||
from tempfile import NamedTemporaryFile
|
||||
from typing import Any, Union, Generator
|
||||
|
||||
from typing import Any, Generator, Union
|
||||
|
||||
PathType = Union[str, Path]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import os
|
||||
from argparse import Namespace
|
||||
from pathlib import Path
|
||||
from tempfile import NamedTemporaryFile
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
from enum import Enum, auto
|
||||
from pathlib import Path
|
||||
from typing import Dict, List, Optional, Any
|
||||
from typing import Any, Dict, List, Optional
|
||||
from urllib.parse import ParseResult, urlparse
|
||||
|
||||
from .fileutils import PathType, to_path, write_json_file
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
from setuptools import setup, find_packages
|
||||
import sys
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
assert sys.version_info >= (3, 6, 0), "nur requires Python 3.6+"
|
||||
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue