-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
157 lines (139 loc) · 3.16 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "pannb"
version = "0.1.3"
description = "pannb—pandoc filter for ipynb"
license = "BSD-3-Clause"
keywords = [
"pandoc",
"filter",
"ipynb",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]
homepage = "https://github.com/ickc/pannb"
repository = "https://github.com/ickc/pannb"
documentation = "https://ickc.github.io/pannb"
authors = ["Kolen Cheung <[email protected]>"]
readme = "README.rst"
packages = [
{ include = "pannb", from = "src" },
]
include = [
'LICENSE',
'README.rst',
]
[tool.poetry.dependencies]
python = ">=3.8"
panflute = "^2.1.3"
# extras
coloredlogs = { optional = true, version = ">=14,<16" }
# tests
coverage = { optional = true, version = "*" }
coveralls = { optional = true, version = "*" }
# flake8 = { optional = true, version = "*" }
pytest = { optional = true, version = "*" }
# pytest-parallel = { optional = true, version = "*" }
# pytest-xdist = { optional = true, version = "*" }
# docs
sphinx = { optional = true, version = "^3.3" }
sphinx-bootstrap-theme = { optional = true, version = "*" }
sphinxcontrib-apidoc = { optional = true, version = "*" }
nbsphinx = { optional = true, version = ">=0.8" }
ipykernel = { optional = true, version = "*" }
pandas = { optional = true, version = "*" }
[tool.poetry.dev-dependencies]
isort = "*"
mypy = "*"
bandit = "*"
black = "*"
bump2version = "*"
ghp-import = "^2"
nbconvert = "^6"
pylint = "*"
rstcheck = "*"
types-PyYAML = "*"
twine = "*"
[tool.poetry.extras]
extras = [
"coloredlogs",
]
tests = [
"coverage",
"coveralls",
# "flake8",
"pytest",
# "pytest-parallel",
# "pytest-xdist",
]
docs = [
"sphinx",
"sphinx-bootstrap-theme",
"sphinxcontrib-apidoc",
"nbsphinx",
"ipykernel",
"pandas",
]
[tool.poetry.scripts]
pannb = 'pannb:main'
[tool.coverage.paths]
source = [
'src',
'*/site-packages',
]
[tool.coverage.run]
branch = true
source = [
'src',
'tests',
]
parallel = false
relative_files = true
[tool.coverage.report]
show_missing = true
precision = 2
[tool.pytest.ini_options]
addopts = [
'-ra',
'--strict-markers',
'--tb=auto',
]
testpaths = [
'tests',
]
[tool.isort]
line_length = 120
known_first_party = 'pannb'
default_section = 'THIRDPARTY'
forced_separate = 'tests'
profile = 'black'
skip = [
'.eggs',
'ci/templates',
'build',
'dist',
]
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = 120
[tool.black]
line-length = 120
experimental-string-processing = true
target-version = ['py38']