chore: Add tox configuration

Add tox configuration that allows to build a venv for development and to
format source files. To make use of it add appropriate Makefile targets.

Drop unneeded requirements from requirements.txt and
test-requirements.txt and add needed requirements.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-04-11 14:50:51 +02:00
parent b392d8077d
commit e2d2da2670
7 changed files with 39 additions and 12 deletions

View File

@@ -7,3 +7,12 @@ cluster-up:
.PHONY: cluster-down
cluster-down:
hack/e2e-setup.sh --cleanup
.PHONY: build-venv
build-venv:
tox run -e venv
ln -sf .tox/venv .venv
.PHONY: format
format:
tox run -e format