-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (62 loc) · 1.88 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 = 'portabletext-html'
version = '1.1.3'
description = "HTML renderer for Sanity's Portable Text format"
homepage = 'https://github.com/otovo/python-sanity-html'
repository = 'https://github.com/otovo/python-sanity-html'
authors = ['Kristian Klette <[email protected]>']
maintainers = ['Sondre Lillebø Gundersen <[email protected]>']
license = 'Apache2'
readme = 'README.md'
keywords = ['sanity', 'portable', 'text', 'html', 'parsing']
include = ['CHANGELOG.md']
packages = [{ include = 'portabletext_html' }]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Topic :: Text Processing',
'Topic :: Text Processing :: Markup',
'Topic :: Text Processing :: Markup :: HTML',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Typing :: Typed',
]
[tool.poetry.dependencies]
python = '^3.7'
[tool.poetry.dev-dependencies]
pytest = '^6.2.3'
flake8 = '^3.9.0'
pytest-cov = '^2.11.1'
coverage = '^5.5'
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[tool.black]
line-length = 120
include = '\.pyi?$'
skip-string-normalization = true
[tool.isort]
profile = 'black'
multi_line_output = 3
include_trailing_comma = true
line_length = 120
[tool.pytest.ini_options]
addopts = ['--cov=portabletext_html','--cov-report', 'term-missing']
markers = ['unsupported']
[tool.coverage.run]
source = ['portabletext_html/*']
omit = []
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
'if TYPE_CHECKING:',
]