[Patchew-devel] [PATCH 0/2] Cleanup imports

Fam Zheng famz at redhat.com
Fri Mar 16 07:11:18 UTC 2018


Overtime the import lines are containing redundancy. Clean it up with
autoflake.

One small fix is needed to keep this smooth.

Fam Zheng (2):
  api: Fix import of Group
  "autoflake" out unused imports

 api/admin.py                                        | 1 -
 api/apps.py                                         | 2 +-
 api/migrations/0019_populate_last_comment_date.py   | 2 +-
 api/migrations/0021_fix_recipients_utf8.py          | 2 +-
 api/migrations/0025_populate_project_maintainers.py | 2 +-
 api/models.py                                       | 4 +---
 api/views.py                                        | 1 -
 mod.py                                              | 2 --
 mods/diff.py                                        | 7 +------
 mods/email.py                                       | 1 -
 mods/git.py                                         | 4 +---
 mods/testing.py                                     | 4 ----
 patchew/urls.py                                     | 1 -
 tests/test_custom_tags.py                           | 1 -
 tests/test_diff.py                                  | 1 -
 tests/test_git.py                                   | 3 ---
 tests/test_message.py                               | 2 --
 tests/test_model.py                                 | 3 ---
 tests/test_project.py                               | 2 --
 tests/test_rest.py                                  | 6 +-----
 tests/test_tags.py                                  | 1 -
 tests/test_testing.py                               | 3 +--
 www/views.py                                        | 1 -
 23 files changed, 9 insertions(+), 47 deletions(-)

-- 
2.14.3




More information about the Patchew-devel mailing list