-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
80 lines (74 loc) · 2.14 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
[tool.poetry]
name = "broadworks_ocip"
version = "2.2.0"
description = "API interface to the OCI-P provisioning interface of a Broadworks softswitch"
authors = ["Nigel Metheringham <[email protected]>"]
license = "BSD"
readme = "README.md"
homepage = "https://pypi.org/project/broadworks-ocip/"
repository = "https://github.com/nigelm/broadworks_ocip"
documentation = "https://nigelm.github.io/broadworks_ocip/"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules"
]
include = [
"CHANGELOG.md",
"CONTRIBUTING.md",
"README.md",
"tests/*",
"docs/*"
]
exclude = [
"**/__pycache__",
"**/*.py[oc]"
]
[tool.poetry.dependencies]
python = ">=3.6.2"
lxml = "4.9.4"
attrs = "^21.4.0"
null-object = "^0.1.0"
pyyaml = "6.0.1"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
toposort = "^1.7"
xmlschema = "^1.9.2"
mkdocs = "^1.2.1"
mkdocs-material = "^8.1.7"
mkdocstrings = { version = "^0.17.0", python = ">=3.6.2,<4.0" }
tiangolo-markdown-include = "^0.7.0"
python-semantic-release = "^7.23.0"
py-markdown-table = "^0.2.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
branch = "master"
version_toml = [ "pyproject.toml:tool.poetry.version" ]
version_pattern = [
'README.md:Version: `(\d+\.\d+\.\d+)`',
'broadworks_ocip/__init__.py:__version__ = "(\d+\.\d+\.\d+)"',
]
version_source = "tag"
commit_version_number = true
patch_without_tag = true
build_command = "poetry build"
upload_to_pypi = false
check_build_status = false
# ruff is a replacement for flake8
[tool.ruff]
line-length = 150
lint.ignore = ["F821"]
lint.isort.case-sensitive = true
lint.isort.force-single-line = true
lint.isort.force-sort-within-sections = true
# end