Parsing the numerical output from Sensovation SensoSpot image analysis.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
3.0 KiB

.PHONY: clean coverage coverall docs devenv install lint prepareenv repo serve-docs test testall testfunctional tox
.DEFAULT_GOAL := help
define BROWSER_PYSCRIPT
import os, webbrowser, sys
try:
from urllib import pathname2url
except:
from urllib.request import pathname2url
webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
endef
export BROWSER_PYSCRIPT
define PRINT_HELP_PYSCRIPT
import re, sys
for line in sys.stdin:
match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line)
if match:
target, help = match.groups()
print("%-20s %s" % (target, help))
endef
export PRINT_HELP_PYSCRIPT
BROWSER := python -c "$$BROWSER_PYSCRIPT"
help:
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
clean: clean-build clean-docs clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
clean-build: ## remove build artifacts
rm -fr build/
rm -fr dist/
rm -fr .eggs/
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
clean-docs: ## remove documentation artifacts
rm -fr site/
clean-pyc: ## remove Python file artifacts
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache/
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
lint: ## reformat with black and check style with flake8
black src tests
ruff src tests
test: lint ## run tests quickly, stop on first error
pytest tests -x -l --last-failed --disable-warnings -m "not functional"
testfunctional: lint ## run functional tests, stop on first error
pytest tests -x -l -m "functional"
testall: lint ## run all tests
pytest tests -l
coverage: lint ## functional test suite, check code coverage and open coverage report
pytest tests --cov=sensospot_parser -l -m "functional"
coverage html
$(BROWSER) htmlcov/index.html
coverall: lint ## full test suite, check code coverage and open coverage report
pytest tests --cov=sensospot_parser -l
coverage html
$(BROWSER) htmlcov/index.html
tox: ## run fully isolated tests with tox
tox
docs: ## build the documentation using mkdocs
mkdocs build
serve-docs: docs ## build the documentation and serve them in a web server
mkdocs serve
install: ## install updated project.toml with flint
flit install --pth-file
python3 -m venv --prompt sensospot .venv .venv/bin/pip3 install --upgrade pip Requirement already satisfied: pip in ./.venv/lib/python3.10/site-packages (22.2.2) .venv/bin/pip3 install "flit>3.2" Requirement already satisfied: flit>3.2 in ./.venv/lib/python3.10/site-packages (3.7.1) Requirement already satisfied: docutils in ./.venv/lib/python3.10/site-packages (from flit>3.2) (0.19) Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.28.1) Requirement already satisfied: tomli-w in ./.venv/lib/python3.10/site-packages (from flit>3.2) (1.0.0) Requirement already satisfied: flit_core>=3.7.1 in ./.venv/lib/python3.10/site-packages (from flit>3.2) (3.7.1) Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.0.1) Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2022.6.15) Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (1.26.12) .venv/bin/flit install --pth-file [?1049h(B[?7h[?1049l [?1l>Requirement already satisfied: pandas>=1.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.4.3) Requirement already satisfied: defusedxml>=0.6.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 2)) (0.7.1) Requirement already satisfied: tables>=3.6.1 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.7.0) Requirement already satisfied: click in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 4)) (8.1.3) Requirement already satisfied: pytest>=4.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (7.1.2) Requirement already satisfied: pytest-cov in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (3.0.0) Requirement already satisfied: pytest-mock in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 7)) (3.8.2) Requirement already satisfied: pytest-randomly>=3.5.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 8)) (3.12.0) Requirement already satisfied: tox in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.25.1) Requirement already satisfied: black in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (22.6.0) Requirement already satisfied: flake8 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (5.0.4) Requirement already satisfied: flake8-comprehensions in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 12)) (3.10.0) Requirement already satisfied: flake8-bandit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.1.1) Requirement already satisfied: isort>=5.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 14)) (5.10.1) Requirement already satisfied: keyring in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 15)) (23.8.2) Requirement already satisfied: pre-commit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.20.0) Requirement already satisfied: python-dateutil>=2.8.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2.8.2) Requirement already satisfied: pytz>=2020.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2022.2.1) Requirement already satisfied: numpy>=1.21.0 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.23.2) Requirement already satisfied: numexpr>=2.6.2 in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (2.8.3) Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (21.3) Requirement already satisfied: tomli>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (2.0.1) Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (22.1.0) Requirement already satisfied: pluggy<2.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.0.0) Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.1.1) Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.11.0) Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (6.4.4) Requirement already satisfied: toml>=0.9.4 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.10.2) Requirement already satisfied: filelock>=3.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.8.0) Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (20.16.3) Requirement already satisfied: six>=1.14.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (1.16.0) Requirement already satisfied: mypy-extensions>=0.4.3 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.4.3) Requirement already satisfied: platformdirs>=2 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (2.5.2) Requirement already satisfied: pathspec>=0.9.0 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.9.0) Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (0.7.0) Requirement already satisfied: pyflakes<2.6.0,>=2.5.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.5.0) Requirement already satisfied: pycodestyle<2.10.0,>=2.9.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.9.1) Requirement already satisfied: bandit>=1.7.3 in ./.venv/lib/python3.10/site-packages (from flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (1.7.4) Requirement already satisfied: identify>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.5.3) Requirement already satisfied: pyyaml>=5.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (6.0) Requirement already satisfied: nodeenv>=0.11.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (1.7.0) Requirement already satisfied: cfgv>=2.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (3.3.1) Requirement already satisfied: stevedore>=1.20.0 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.0) Requirement already satisfied: GitPython>=1.0.1 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (3.1.27) Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from nodeenv>=0.11.1->pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (58.1.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.0.9) Requirement already satisfied: distlib<1,>=0.3.5 in ./.venv/lib/python3.10/site-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.3.6) Requirement already satisfied: gitdb<5,>=4.0.1 in ./.venv/lib/python3.10/site-packages (from GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.9) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./.venv/lib/python3.10/site-packages (from stevedore>=1.20.0->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.10.0) Requirement already satisfied: smmap<6,>=3.0.1 in ./.venv/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.0.0) .venv/bin/pre-commit install --install-hooks pre-commit installed at .git/hooks/pre-commit now installs also pre-commit hooks
2 years ago
prepareenv: ## setup virtual environment and install packages
5 years ago
python3 -m venv --prompt sensospot .venv
.venv/bin/pip3 install --upgrade pip
.venv/bin/pip3 install "flit>3.2"
.venv/bin/flit install --pth-file
python3 -m venv --prompt sensospot .venv .venv/bin/pip3 install --upgrade pip Requirement already satisfied: pip in ./.venv/lib/python3.10/site-packages (22.2.2) .venv/bin/pip3 install "flit>3.2" Requirement already satisfied: flit>3.2 in ./.venv/lib/python3.10/site-packages (3.7.1) Requirement already satisfied: docutils in ./.venv/lib/python3.10/site-packages (from flit>3.2) (0.19) Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.28.1) Requirement already satisfied: tomli-w in ./.venv/lib/python3.10/site-packages (from flit>3.2) (1.0.0) Requirement already satisfied: flit_core>=3.7.1 in ./.venv/lib/python3.10/site-packages (from flit>3.2) (3.7.1) Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.0.1) Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2022.6.15) Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (1.26.12) .venv/bin/flit install --pth-file [?1049h(B[?7h[?1049l [?1l>Requirement already satisfied: pandas>=1.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.4.3) Requirement already satisfied: defusedxml>=0.6.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 2)) (0.7.1) Requirement already satisfied: tables>=3.6.1 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.7.0) Requirement already satisfied: click in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 4)) (8.1.3) Requirement already satisfied: pytest>=4.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (7.1.2) Requirement already satisfied: pytest-cov in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (3.0.0) Requirement already satisfied: pytest-mock in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 7)) (3.8.2) Requirement already satisfied: pytest-randomly>=3.5.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 8)) (3.12.0) Requirement already satisfied: tox in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.25.1) Requirement already satisfied: black in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (22.6.0) Requirement already satisfied: flake8 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (5.0.4) Requirement already satisfied: flake8-comprehensions in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 12)) (3.10.0) Requirement already satisfied: flake8-bandit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.1.1) Requirement already satisfied: isort>=5.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 14)) (5.10.1) Requirement already satisfied: keyring in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 15)) (23.8.2) Requirement already satisfied: pre-commit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.20.0) Requirement already satisfied: python-dateutil>=2.8.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2.8.2) Requirement already satisfied: pytz>=2020.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2022.2.1) Requirement already satisfied: numpy>=1.21.0 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.23.2) Requirement already satisfied: numexpr>=2.6.2 in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (2.8.3) Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (21.3) Requirement already satisfied: tomli>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (2.0.1) Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (22.1.0) Requirement already satisfied: pluggy<2.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.0.0) Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.1.1) Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.11.0) Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (6.4.4) Requirement already satisfied: toml>=0.9.4 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.10.2) Requirement already satisfied: filelock>=3.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.8.0) Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (20.16.3) Requirement already satisfied: six>=1.14.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (1.16.0) Requirement already satisfied: mypy-extensions>=0.4.3 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.4.3) Requirement already satisfied: platformdirs>=2 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (2.5.2) Requirement already satisfied: pathspec>=0.9.0 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.9.0) Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (0.7.0) Requirement already satisfied: pyflakes<2.6.0,>=2.5.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.5.0) Requirement already satisfied: pycodestyle<2.10.0,>=2.9.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.9.1) Requirement already satisfied: bandit>=1.7.3 in ./.venv/lib/python3.10/site-packages (from flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (1.7.4) Requirement already satisfied: identify>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.5.3) Requirement already satisfied: pyyaml>=5.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (6.0) Requirement already satisfied: nodeenv>=0.11.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (1.7.0) Requirement already satisfied: cfgv>=2.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (3.3.1) Requirement already satisfied: stevedore>=1.20.0 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.0) Requirement already satisfied: GitPython>=1.0.1 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (3.1.27) Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from nodeenv>=0.11.1->pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (58.1.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.0.9) Requirement already satisfied: distlib<1,>=0.3.5 in ./.venv/lib/python3.10/site-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.3.6) Requirement already satisfied: gitdb<5,>=4.0.1 in ./.venv/lib/python3.10/site-packages (from GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.9) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./.venv/lib/python3.10/site-packages (from stevedore>=1.20.0->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.10.0) Requirement already satisfied: smmap<6,>=3.0.1 in ./.venv/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.0.0) .venv/bin/pre-commit install --install-hooks pre-commit installed at .git/hooks/pre-commit now installs also pre-commit hooks
2 years ago
devenv: prepareenv ## setup development environment including precommit hooks
.venv/bin/pre-commit install --install-hooks
repo: prepareenv ## complete project setup with development environment and git repo
git init .
git add .
git commit -m "import of project template"
git branch -m main
git remote add origin https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git
git push -u origin main --no-verify
.venv/bin/pre-commit install --install-hooks