-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
121 lines (108 loc) · 2.63 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = [
"hatchling>=1.3.1",
]
build-backend = "hatchling.build"
[project]
name = "jupyterlab_nbconvert_nocode"
description = "A simple helper library with 2 NBConvert exporters for PDF/HTML export with no code cells"
version = "0.4.1"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
authors = [
{ name = "Tim Paine", email = "t.paine154@gmail.com" },
]
keywords = [
"Jupyter",
"JupyterLab",
"Notebook",
"Notebooks",
"Report",
"Reports",
"Reporting",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"jupyterlab>=3.5",
"nbconvert>=6.0.0",
]
[project.entry-points."nbconvert.exporters"]
pdf_nocode = "jupyterlab_nbconvert_nocode.nbconvert_functions.hideinput.exporters:PDFHideCodeExporter"
html_nocode = "jupyterlab_nbconvert_nocode.nbconvert_functions.hideinput.exporters:HTMLHideCodeExporter"
[project.optional-dependencies]
develop = [
"check-manifest",
"ruff",
"pytest",
"pytest-cov",
]
test = [
"pytest",
"pytest-cov",
]
[project.urls]
repository = "https://github.com/timkpaine/jupyterlab_nbconvert_nocode"
homepage = "https://github.com/timkpaine/jupyterlab_nbconvert_nocode"
[tool.hatch.build.sources]
src = "/"
[tool.hatch.build.targets.sdist]
include = [
"/jupyterlab_nbconvert_nocode",
"/setup.py",
"LICENSE",
"README.md",
]
exclude = [
"/.bumpversion.cfg",
"/.github",
"/.gitignore",
"/.mypy_cache",
"/.ruff_cache",
"/dist",
"/docs",
"/Makefile",
]
[tool.hatch.build.targets.wheel]
include = [
"/jupyterlab_nbconvert_nocode",
]
exclude = [
"/.github",
"/.gitignore",
"/.mypy_cache",
"/.ruff_cache",
"/pyproject.toml",
"/dist",
]
[tool.hatch.build.targets.wheel.shared-data]
"jupyterlab_nbconvert_nocode/templates" = "share/jupyter/nbconvert/templates"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
combine-as-imports = true
default-section = "third-party"
known-first-party = ["nbprint"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]