2023-09-28 08:37:32 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "scoping-review"
|
2024-03-30 08:56:59 +00:00
|
|
|
version = "0.5.1"
|
2023-09-28 08:37:32 +00:00
|
|
|
description = ""
|
|
|
|
authors = ["Marty Oehme <marty.oehme@gmail.com>"]
|
2024-06-20 09:00:56 +00:00
|
|
|
packages = [{ include = "src" }]
|
2023-09-28 08:37:32 +00:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "<3.13,>=3.11"
|
|
|
|
pandas = "^2.1.1"
|
2023-11-12 17:10:44 +00:00
|
|
|
seaborn = "^0.13.0"
|
2024-06-20 09:00:56 +00:00
|
|
|
bibtexparser = { version = ">=2.0.0b1", allow-prereleases = true }
|
2023-09-28 09:30:44 +00:00
|
|
|
jupyter = "^1.0.0"
|
|
|
|
jupyter-cache = "^0.6.1"
|
2023-10-12 10:13:19 +00:00
|
|
|
tabulate = "^0.9.0"
|
2023-12-07 19:11:27 +00:00
|
|
|
openpyxl = "^3.1.2"
|
2023-09-28 08:37:32 +00:00
|
|
|
|
2023-09-28 09:30:44 +00:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2024-06-20 16:20:59 +00:00
|
|
|
pynvim = "^0.5.0"
|
2023-09-28 09:30:44 +00:00
|
|
|
pyperclip = "^1.8.2"
|
2023-12-07 08:30:16 +00:00
|
|
|
poethepoet = "^0.24.4"
|
2023-09-28 09:30:44 +00:00
|
|
|
|
2023-09-28 08:37:32 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
2023-09-28 10:00:26 +00:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
ignore = ["E402"]
|
2024-06-20 16:20:59 +00:00
|
|
|
[tool.pyright]
|
|
|
|
typeCheckingMode="basic"
|
2023-12-07 08:30:16 +00:00
|
|
|
|
|
|
|
[tool.poe]
|
|
|
|
poetry_command = ""
|
|
|
|
[tool.poe.tasks.preview]
|
|
|
|
help = "Preview the main review in the browser"
|
2024-07-29 07:50:18 +00:00
|
|
|
cmd = "quarto preview manuscript/article.qmd --to=html"
|
2023-12-07 08:30:16 +00:00
|
|
|
[tool.poe.tasks.render]
|
|
|
|
help = "Render all project files"
|
|
|
|
cmd = "quarto render"
|
2023-12-07 10:06:40 +00:00
|
|
|
[tool.poe.tasks.edit]
|
|
|
|
help = "Edit the main project file in-environment"
|
|
|
|
cmd = "nvim"
|
2024-01-06 09:32:21 +00:00
|
|
|
[tool.poe.tasks.extract]
|
|
|
|
help = "Extract the csv data from raw yaml files"
|
|
|
|
shell = """
|
2024-07-15 19:38:05 +00:00
|
|
|
python src/extract/raw_to_extracted_csv.py > data/processed/extracted.csv
|
2024-01-06 09:32:21 +00:00
|
|
|
"""
|
2024-07-15 18:54:58 +00:00
|
|
|
[tool.poe.tasks.prisma]
|
|
|
|
help = "Update PRISMA flowchart numbers"
|
|
|
|
shell = """
|
2024-07-15 19:38:05 +00:00
|
|
|
python src/model/prisma.py > data/processed/prisma.mmd
|
2024-07-15 18:54:58 +00:00
|
|
|
"""
|
2024-01-06 09:41:26 +00:00
|
|
|
[tool.poe.tasks.milestone]
|
|
|
|
help = "Extract, render, commit and version a finished artifact"
|
|
|
|
shell = """
|
|
|
|
quarto render --output-dir 05-final_paper
|
2024-01-06 09:51:23 +00:00
|
|
|
VERSION="$(poetry version -s minor)"
|
2024-07-15 19:38:05 +00:00
|
|
|
git add pyproject.toml data 05-final_paper
|
2024-02-28 07:12:36 +00:00
|
|
|
git commit -m "Publish version $VERSION" --no-gpg-sign
|
2024-01-06 09:41:26 +00:00
|
|
|
git tag -a -m "new bundle for $(date -Isecond)" "$VERSION"
|
|
|
|
"""
|