-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
77 lines (66 loc) · 2.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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "zyte-common-items"
dynamic = ["version"]
description = "Item definitions for Zyte API schema"
readme = { file = "README.rst", content-type = "text/x-rst" }
requires-python = ">=3.9"
authors = [{ name = "Zyte Group Ltd", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"attrs>=22.2.0",
"clear-html>=0.4.0",
"itemadapter>=0.8.0",
"Jinja2>=2.7",
"price-parser>=0.3.4",
"web-poet>=0.14.0",
"zyte-parsers>=0.5.0",
]
[project.urls]
source = "https://github.com/zytedata/zyte-common-items"
issues = "https://github.com/zytedata/zyte-common-items/issues"
documentation = "https://zyte-common-items.readthedocs.io/en/stable/"
changelog = "https://github.com/zytedata/zyte-common-items/blob/main/CHANGELOG.rst"
[tool.setuptools.dynamic]
version = { file = "zyte_common_items/VERSION" }
[tool.setup_tools.package-data]
zyte_common_items = ["py.typed","VERSION"]
[tool.setuptools.packages.find]
include = ["zyte_common_items*"]
namespaces = false
[tool.black]
exclude = 'test_mypy\.py' # https://github.com/davidfritzsche/pytest-mypy-testing/issues/29
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
warn_no_return = false
exclude = ['test_mypy\.py$', 'test_conversion\.py$']
[tool.pytest.ini_options]
filterwarnings = [
'ignore:The zyte_common_items.ae module .*:DeprecationWarning',
]
[tool.bumpversion]
current_version = "0.26.2"
commit = true
tag = true
tag_name = "{new_version}"
[[tool.bumpversion.files]]
filename = "zyte_common_items/VERSION"