wow-inequalities/pyproject.toml

62 lines
1.6 KiB
TOML
Raw Permalink Normal View History

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>"]
packages = [{ include = "src" }]
2023-09-28 08:37:32 +00:00
[tool.poetry.dependencies]
python = "<3.13,>=3.11"
pandas = "^2.1.1"
seaborn = "^0.13.0"
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"
tabulate = "^0.9.0"
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"
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"
[tool.ruff]
ignore = ["E402"]
2024-06-20 16:20:59 +00:00
[tool.pyright]
typeCheckingMode="basic"
[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"
[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"
[tool.poe.tasks.extract]
help = "Extract the csv data from raw yaml files"
shell = """
python src/extract/raw_to_extracted_csv.py > data/processed/extracted.csv
"""
2024-07-15 18:54:58 +00:00
[tool.poe.tasks.prisma]
help = "Update PRISMA flowchart numbers"
shell = """
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
VERSION="$(poetry version -s minor)"
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"
"""