Tarantool development patches archive
 help / color / mirror / Atom feed
From: sergeyb@tarantool.org
To: tarantool-patches@dev.tarantool.org, lvasiliev@tarantool.org
Cc: alexander.turenko@tarantool.org
Subject: [Tarantool-patches] [PATCH 0/6] Support Python 3 in tests and PEPify source code
Date: Mon,  7 Dec 2020 10:46:45 +0300	[thread overview]
Message-ID: <cover.1607326642.git.sergeyb@tarantool.org> (raw)

From: Sergey Bronnikov <sergeyb@tarantool.org>

Changes v1:
- convert print statements to functions
- use "format()" instead of "%" everywhere

Changes v2:
- make using quotes with strings consistent
- remove dead code
- remove empty prints
- added make target for running flake8
- added flake8 config
- added job to run flake8 on Gitlab CI

Gitlab CI: https://gitlab.com/tarantool/tarantool/-/pipelines/225950617
Branch: https://github.com/tarantool/tarantool/tree/ligurio/gh-5538-support-python3
Issue: https://github.com/tarantool/tarantool/issues/5538

Sergey Bronnikov (6):
  test: support Python 3 and make quotes use consistent
  test: remove dead code in Python tests end extra newline
  test: remove empty print() functions
  add initial flake8 config
  cmake: add integration with flake8
  ci: enable flake8

 .flake8                                  |   66 +
 .gitlab-ci.yml                           |    8 +
 .travis.mk                               |   12 +
 CMakeLists.txt                           |   18 +
 test/app-tap/httpd.py                    |   42 +-
 test/box-py/args.test.py                 |   14 +-
 test/box-py/bad_trigger.result           |    2 -
 test/box-py/bad_trigger.test.py          |   20 +-
 test/box-py/bootstrap.result             |    2 +-
 test/box-py/bootstrap.test.py            |   16 +-
 test/box-py/call.result                  |   16 +-
 test/box-py/call.test.py                 |   88 +-
 test/box-py/iproto.result                |   10 +-
 test/box-py/iproto.test.py               |  218 ++-
 test/box-py/print.result                 |    6 +-
 test/box-py/print.test.py                |   24 +-
 test/box-py/snapshot.result              |    4 +-
 test/box-py/snapshot.test.py             |   33 +-
 test/long_run-py/finalizers.result       |    2 +-
 test/long_run-py/finalizers.test.py      |    8 +-
 test/replication-py/cluster.result       |    6 +-
 test/replication-py/cluster.test.py      |  217 +--
 test/replication-py/conflict.test.py     |   54 +-
 test/replication-py/init_storage.test.py |   54 +-
 test/replication-py/multi.result         |    6 -
 test/replication-py/multi.test.py        |   72 +-
 test/replication-py/swap.result          | 1600 +++++++++++-----------
 test/replication-py/swap.test.py         |   55 +-
 test/xlog-py/big_lsn.test.py             |    4 +-
 test/xlog-py/dup_key.result              |    2 -
 test/xlog-py/dup_key.test.py             |   20 +-
 test/xlog-py/empty.test.py               |    4 +-
 test/xlog-py/lsn_gap.result              |    2 -
 test/xlog-py/lsn_gap.test.py             |    9 +-
 test/xlog-py/misc.result                 |    6 -
 test/xlog-py/misc.test.py                |   27 +-
 test/xlog-py/missing.result              |    2 -
 test/xlog-py/missing.test.py             |    8 +-
 38 files changed, 1407 insertions(+), 1350 deletions(-)
 create mode 100644 .flake8

-- 
2.25.1

             reply	other threads:[~2020-12-07  7:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07  7:46 sergeyb [this message]
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 1/6] test: support Python 3 and make quotes use consistent sergeyb
2020-12-09 15:58   ` Leonid Vasiliev
2020-12-10 13:23     ` Sergey Bronnikov
2020-12-10 13:29       ` Sergey Bronnikov
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 2/6] test: remove dead code in Python tests end extra newline sergeyb
2020-12-09 20:20   ` Leonid Vasiliev
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 3/6] test: remove empty print() functions sergeyb
2020-12-09 20:27   ` Leonid Vasiliev
2020-12-10 13:26     ` Sergey Bronnikov
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 4/6] add initial flake8 config sergeyb
2020-12-09 20:57   ` Leonid Vasiliev
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 5/6] cmake: add integration with flake8 sergeyb
2020-12-07  7:46 ` [Tarantool-patches] [PATCH 6/6] ci: enable flake8 sergeyb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1607326642.git.sergeyb@tarantool.org \
    --to=sergeyb@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=lvasiliev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/6] Support Python 3 in tests and PEPify source code' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox