-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (61 loc) · 1.99 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tool.poetry]
name = "jupyter-tikz"
version = "0.5.6"
description = "IPython Magics for rendering TeX/TikZ in Jupyter Notebooks"
license = "MIT"
authors = ["lucaslrodri"]
readme = "README.md"
packages = [{ include = "jupyter_tikz" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Framework :: IPython",
"Framework :: Jupyter",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Text Processing :: Markup :: LaTeX",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.urls]
"Homepage" = "https://jupyter-tikz.readthedocs.io/"
"Documentation" = "https://jupyter-tikz.readthedocs.io/"
"Repository" = "https://github.com/lucaslrodri/jupyter-tikz/"
"Tracker" = "https://github.com/lucaslrodri/jupyter-tikz/issues/"
[tool.poetry.dependencies]
python = "^3.10"
jinja2= "^3"
ipython = "*"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
isort = "^5.13.2"
black = "^24.4.2"
taskipy = "^1.13.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
[tool.poetry.group.doc.dependencies]
mkdocs = "~1.6.0"
mkdocstrings = { extras = ["python"], version = "~0.25.1" }
jinja2 = "~3.1.4"
mkdocs-macros-plugin = "~1.0.5"
mkdocs-material = {extras = ["imaging"], version = "^9.5.30"}
[tool.pytest.ini_options]
pythonpath = "./jupyter_tikz"
markers = [
"needs_latex: marks tests that require a LaTeX environment with the TikZ package installed.",
"needs_pdftocairo: marks tests that require `pdftocairo` (Poppler) installed.",
]
# addopts = '-m "not needs_latex and not needs_pdftocairo"'
# addopts = "--no-cov"
[tool.isort]
profile = "black"
[tool.taskipy.tasks]
lint = "black . && isort ."
test = "pytest -vv --cov=jupyter_tikz"
post_test = "coverage lcov"
readme = "python main.py"
build = "task lint && task test && task readme && poetry build"