This is important for distributed settings, and will make merging databases much simpler. This change is pretty extensive and includes a lot of other stuff like moving some fields between tables, and introducing the `local_metadata` table which is a key-value store and holds the uuid of the "local" store, i.e. the one corresponding to the directory holding that particular nancy.db.
50 lines
909 B
TOML
50 lines
909 B
TOML
[tool.poetry]
|
|
name = "nancy"
|
|
version = "0.1.0"
|
|
description = "Composable tracking of scientific data provenance"
|
|
authors = ["Jacob Hinkle <jacob.hinkle@jhink.org>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
click = "^8.1.3"
|
|
colorama = "^0.4.5"
|
|
loguru = "^0.6.0"
|
|
pre-commit = "^2.20.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^22.8.0"
|
|
pytest = "^7.1.3"
|
|
coverage = "^6.4.4"
|
|
pytest-cov = "^3.0.0"
|
|
pytest-black = "^0.3.12"
|
|
|
|
[tool.poetry.scripts]
|
|
nancy = "nancy.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.tox]
|
|
legacy_tox_ini = """
|
|
[tox]
|
|
envlist = mypy,py310
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-cov
|
|
coverage
|
|
commands =
|
|
pytest --cov src/nancy
|
|
|
|
[testenv:mypy]
|
|
deps =
|
|
mypy
|
|
pytest
|
|
commands =
|
|
mypy --strict --ignore-missing-imports --no-incremental -p nancy
|
|
mypy --strict --no-incremental tests/
|
|
"""
|