Upgrade flit, switch from isort to usort

This commit is contained in:
John Reese 2020-11-08 12:49:07 -08:00
parent 1a732cef86
commit 8fce5f9f5b
6 changed files with 4 additions and 8 deletions

View File

@ -6,7 +6,6 @@ from unittest import TestCase
import aioitertools as ait
import aioitertools.asyncio as aio
from .helpers import async_test
slist = ["A", "B", "C"]

View File

@ -6,7 +6,6 @@ from typing import AsyncIterator
from unittest import TestCase
import aioitertools as ait
from .helpers import async_test
slist = ["A", "B", "C"]

View File

@ -6,7 +6,6 @@ import operator
from unittest import TestCase
import aioitertools as ait
from .helpers import async_test
slist = ["A", "B", "C"]

View File

@ -5,7 +5,6 @@ from typing import AsyncIterable
from unittest import TestCase
import aioitertools.more_itertools as mit
from .helpers import async_test

View File

@ -18,12 +18,12 @@ release: lint test clean
flit publish
format:
python -m isort --apply --recursive aioitertools
python -m usort format aioitertools
python -m black aioitertools
lint:
python -m pylint --rcfile .pylint aioitertools
python -m isort --diff --recursive aioitertools
python -m usort check aioitertools
python -m black --check aioitertools
test:

View File

@ -1,9 +1,9 @@
black==19.10b0
codecov==2.0.22
coverage[toml]==5.1
flit==2.3.0
isort==4.3.20
flit==3.0.0
mypy==0.790
pylint==2.4.4
sphinx==3.3.0
usort==0.6.0
git+https://github.com/miyakogi/m2r