-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (65 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
78 lines (65 loc) · 1.72 KB
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
71
72
73
74
75
76
77
78
[tool.poetry]
name = "presentpy"
version = "1.4.6"
description = "Create slides from Jupyter Notebooks"
authors = ["Antonio Feregrino <antonio.feregrino@gmail.com>"]
license = "MIT"
readme = "readme.md"
include = ["src/presentpy/**/*"]
[tool.poetry.scripts]
presentpy = "presentpy.__main__:process"
[tool.poetry.dependencies]
click = "^8.1.7"
lxml = "^5.2.2"
mistletoe = "^1.4.0"
nbformat = "^5.10.4"
pillow = "^10.4.0"
pygments = "^2.18.0"
python = "^3.10"
beautifulsoup4 = "^4.12.3"
colour = "^0.1.5"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
bump-my-version = "^0.24.3"
mkdocs-material = "^9.5.30"
pytest = "^8.3.1"
ruff = "^0.5.4"
[tool.poetry.group.juptyter.dependencies]
jupyter = "^1.0.0"
jupyterlab = "^4.0.2"
[tool.bumpversion]
current_version = "1.4.6"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "version: {current_version} → {new_version}"
[[tool.bumpversion.files]]
filename = "src/presentpy/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N"]
ignore = ["C90"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["presentpy"]
[tool.black]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"