-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 809 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clean-pyc: ## Clean Python cache files
find . \( -name '*.pyc' -o -name '*.pyo' -o -name '*~' -o -name '__pycache__' -o -name '.pytest_cache' \) -exec rm -rf {} +
clean-test: ## Cleanup pytest leftovers
rm -f .coverage
rm -fr htmlcov/
rm -fr test_results/
rm -f *report.html log.html test-results.html output.xml
pre-commit-setup: ## Install pre-commit
python3 -m pip install pre-commit
pre-commit --version
requirements: ## Install all requirements
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements-test.txt
python3 -m pip install ruff
setup: requirements pre-commit-setup## Set up all requirements
docs: ## Open your browser to the web apps testing docs
@echo "Opening documentation..."
xdg-open http://localhost:5000/docs || open http://localhost:5000/docs