chore: actually isort with ruff

This commit is contained in:
Daylin Morgan 2023-05-26 22:20:37 -05:00
parent 3a85fe4f3a
commit 80ae99c754
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 9 additions and 6 deletions

View file

@ -8,8 +8,9 @@ A possible cli signature
viv shim black -o ~/bin/black viv shim black -o ~/bin/black
""" """
import sys
import subprocess import subprocess
import sys
import viv import viv
if __name__ == "__main__": if __name__ == "__main__":

View file

@ -29,6 +29,7 @@ dev = [
] ]
[tool.ruff] [tool.ruff]
select = ["E","F","I"]
ignore = ["E402"] ignore = ["E402"]
[tool.mypy] [tool.mypy]

View file

@ -21,17 +21,16 @@ import sys
import tempfile import tempfile
import threading import threading
import time import time
from urllib.request import urlopen
from urllib.error import HTTPError
import venv import venv
from argparse import SUPPRESS, Action
from argparse import ArgumentParser as StdArgParser
from argparse import ( from argparse import (
SUPPRESS,
Action,
HelpFormatter, HelpFormatter,
Namespace, Namespace,
RawDescriptionHelpFormatter, RawDescriptionHelpFormatter,
_SubParsersAction, _SubParsersAction,
) )
from argparse import ArgumentParser as StdArgParser
from dataclasses import dataclass from dataclasses import dataclass
from datetime import datetime from datetime import datetime
from itertools import zip_longest from itertools import zip_longest
@ -50,8 +49,10 @@ from typing import (
Tuple, Tuple,
Type, Type,
) )
from urllib.error import HTTPError
from urllib.request import urlopen
__version__ = "23.5a1-1-g0b26c8c-dev" __version__ = "23.5a1-3-g3a85fe4-dev"
@dataclass @dataclass