[Patchew-devel] [PATCH 0/4] small code formatting fixes

Paolo Bonzini posted 4 patches 28 weeks ago
Failed in applying to current master (apply log)
.../0025_populate_project_maintainers.py      |  1 -
api/migrations/0028_populate_git_results.py   |  5 ----
.../0029_populate_testing_results.py          |  2 --
api/migrations/0030_deblob_properties.py      |  3 --
api/migrations/0036_populate_message_tags.py  |  2 --
.../0038_populate_default_groups.py           |  2 --
api/migrations/0041_postgres_fts.py           |  3 +-
api/migrations/0042_review_to_queue.py        |  3 +-
.../0047_populate_project_config.py           |  1 -
api/migrations/0049_populate_message_flags.py |  1 -
.../0051_populate_property_fields.py          |  2 --
mbox.py                                       |  1 -
mod.py                                        | 16 +++++-----
mods/email.py                                 | 30 +++++++++----------
mods/git.py                                   | 17 +++++------
mods/testing.py                               | 23 +++++++-------
pyproject.toml                                |  3 ++
tests/test_import.py                          |  1 -
www/views.py                                  |  1 -
19 files changed, 46 insertions(+), 71 deletions(-)
create mode 100644 pyproject.toml

[Patchew-devel] [PATCH 0/4] small code formatting fixes

Posted by Paolo Bonzini 28 weeks ago
I'm thinking of running patchew's source code through the "black"
code formatter.  Here are some tiny changes before doing that.

Paolo Bonzini (4):
  modules: do not use "import *"
  remove unused imports
  remove dead code
  add black configuration

 .../0025_populate_project_maintainers.py      |  1 -
 api/migrations/0028_populate_git_results.py   |  5 ----
 .../0029_populate_testing_results.py          |  2 --
 api/migrations/0030_deblob_properties.py      |  3 --
 api/migrations/0036_populate_message_tags.py  |  2 --
 .../0038_populate_default_groups.py           |  2 --
 api/migrations/0041_postgres_fts.py           |  3 +-
 api/migrations/0042_review_to_queue.py        |  3 +-
 .../0047_populate_project_config.py           |  1 -
 api/migrations/0049_populate_message_flags.py |  1 -
 .../0051_populate_property_fields.py          |  2 --
 mbox.py                                       |  1 -
 mod.py                                        | 16 +++++-----
 mods/email.py                                 | 30 +++++++++----------
 mods/git.py                                   | 17 +++++------
 mods/testing.py                               | 23 +++++++-------
 pyproject.toml                                |  3 ++
 tests/test_import.py                          |  1 -
 www/views.py                                  |  1 -
 19 files changed, 46 insertions(+), 71 deletions(-)
 create mode 100644 pyproject.toml

-- 
2.21.0

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel