]> git.apps.os.sepia.ceph.com Git - s3-tests.git/commit
QoL: Fix tox.ini syntax and other minor things
authorMoritz Röhrich <moritz.rohrich@suse.com>
Tue, 28 Feb 2023 11:19:54 +0000 (12:19 +0100)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 Mar 2023 18:01:12 +0000 (13:01 -0500)
commitc94eed2e9fa54b663a0bc0fa352cd1b553ad916b
tree48d9545b0f65201acafc460093bc884bf3480430
parent91b8a58dcf0ca5254f61177d417cb79f7c234516
QoL: Fix tox.ini syntax and other minor things

- Fix tox.ini syntax

Modern tox versions require the expected environment variables to be
listed one by one on separate lines in tox.ini

- Add `venv` to list of ignored names for git

This is a common name for a local Python virtual environment. Less
typing than `virtualenv`

- Add `tox` to requirements.txt

Installing `tox` via `pip` has the advantage of including it in the
virtual environment, thus avoiding trouble on operating systems shipping
by default with python3.6 or older. It's also nice that `pip install -r
requirements.txt` is now sufficient to set up the testing environment,
after initializing the virtual environment with a moder-enough python
version.

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
(cherry picked from commit 3a0f1f0ead196c67721e94a19544aad19846f039)
(cherry picked from commit 7fadea74165dc1d117587e0d16f934aa95d6447d)
.gitignore
requirements.txt
tox.ini