New submission from Jon Dufresne:

Ran variations of the command:

$ find . -wholename '*/test/*.py' | xargs flake8 --select=F401,F811

To look for unused or duplicate imports. The attached patch removes them.

----------
components: Tests
files: cleanup-unused-imports.patch
keywords: patch
messages: 234334
nosy: jdufresne
priority: normal
severity: normal
status: open
title: Cleanup unused and duplicate imports in tests
versions: Python 3.6
Added file: http://bugs.python.org/file37780/cleanup-unused-imports.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23277>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to