From ef5e14201596745c441e9f4aa1ed72a54fecb580 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Thu, 9 Mar 2023 14:43:14 +0300 Subject: [PATCH] Add timeout for cli commands Signed-off-by: Andrey Berezin --- CONTRIBUTING.md | 16 ++-------------- Makefile.old | 28 ---------------------------- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 Makefile.old diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 81bdbac..c76b009 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,20 +48,8 @@ To setup development environment for `frosfs-testcases`, please, take the follow 1. Prepare virtualenv ```shell -$ virtualenv --python=python3.9 venv -$ source venv/bin/activate -``` - -2. Install all dependencies: - -```shell -$ pip install -r requirements.txt -``` - -3. Setup pre-commit hooks to run code formatters on staged files before you run a `git commit` command: - -```shell -$ pre-commit install +$ make venv +$ source frostfs-testcases-3.10/bin/activate ``` Optionally you might want to integrate code formatters with your code editor to apply formatters to code files as you go: diff --git a/Makefile.old b/Makefile.old deleted file mode 100644 index db276b7..0000000 --- a/Makefile.old +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/make -f - -.DEFAULT_GOAL := help - -SHELL ?= bash - -VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a) - -.PHONY: all -all: venvs - -include venv_template.mk - -.PHONY: venvs -venvs: - $(foreach venv,$(VENVS),venv.$(venv)) - -$(foreach venv,$(VENVS),$(eval $(call VENV_template,$(venv)))) - -clean: - rm -rf venv.* - -pytest-local: - @echo "⇒ Run Pytest" - python -m pytest pytest_tests/testsuites/ - -help: - @echo "⇒ run Run testcases ${R}"