This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (70 loc) · 1.81 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
[tool.poetry]
name = "ipfabric-diagrams"
version = "v6.0.0"
description = "Python package for interacting with IP Fabric Diagrams"
authors = [
"Justin Jeffery <justin.jeffery@ipfabric.io>",
"Community Fabric <communityfabric@ipfabric.io>"
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/community-fabric/python-ipfabric-diagrams"
repository = "https://github.com/community-fabric/python-ipfabric-diagrams"
keywords = ["ipfabric", "ip-fabric", "community-fabric"]
packages = [
{ include = "ipfabric_diagrams" }
]
[tool.poetry.urls]
"IP Fabric" = "https://ipfabric.io/"
"Changelog" = "https://github.com/community-fabric/python-ipfabric-diagrams/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.7.1"
pydantic = "^1.8.2"
ipfabric = "~6.0.7"
typing-extensions = "^4.1.1"
rich = {version = "^12.5.1", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
flake8 = "^5.0.4"
black = "^22.3"
[tool.poetry.extras]
examples = ["rich"]
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
version_variable = [
"ipfabric_diagrams/__init__.py:__version__"
]
version_toml = [
"pyproject.toml:tool.poetry.version"
]
branch = "main"
upload_to_repository = true
repository = "pypi"
upload_to_release = true
build_command = "poetry build"
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| examples
)/
| settings.py # This is where you define files that should not be stylized by black
# the root of the project
)
'''