mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed unnecessary imports with autoflake
I ran this:
autoflake --in-place --recursive tests datasette
This commit is contained in:
parent
ecae805d37
commit
6a348e3c2c
9 changed files with 4 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue