Removed unnecessary imports with autoflake

I ran this:

    autoflake --in-place --recursive tests datasette
This commit is contained in:
Simon Willison 2019-06-23 22:15:31 -07:00
commit 6a348e3c2c
9 changed files with 4 additions and 10 deletions

View file

@ -34,5 +34,7 @@ def test_isort(path):
result = isort.SortImports(path, check=True)
assert (
not result.incorrectly_sorted
), "{} has incorrectly sorted imports, fix with 'isort -rc tests && isort -rc datasette && black tests datasette'"
), "{} has incorrectly sorted imports, fix with 'isort -rc tests && isort -rc datasette && black tests datasette'".format(
path
)
sys.stdout = stdout