]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commit
QoL: Fix tox.ini syntax and other minor things 498/head
authorMoritz Röhrich <moritz.rohrich@suse.com>
Tue, 28 Feb 2023 11:19:54 +0000 (12:19 +0100)
committerMoritz Röhrich <moritz.rohrich@suse.com>
Tue, 28 Feb 2023 11:19:54 +0000 (12:19 +0100)
commit3a0f1f0ead196c67721e94a19544aad19846f039
tree51ef7abbe05e7d19d25232a2633c7dca643164a8
parent42aff3e8fd9ed911ccc2f29f4d7108ea17966291
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>
.gitignore
requirements.txt
tox.ini