-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 2.34 KB
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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "terravision"
version = "0.22.0"
description = "Terraform Architecture Visualizer"
readme = "README.md"
authors = [{ name = "Patrick Chugh", email = "terravisionapp@gmail.com" }]
license = "AGPL-3.0-only"
requires-python = ">=3.11"
dependencies = [
"click>=8.1.3",
"GitPython>=3.1.31",
"graphviz>=0.20.1",
"tqdm>=4.65.0",
"python-hcl2==4.3.0",
"PyYAML>=6.0",
"debugpy>=1.8.0",
"ipaddr>=2.2.0",
"ollama>=0.6.1",
"requests>=2.32.3",
"typing-extensions>=4.0.0",
"tomli>=2.0.1",
"graphviz2drawio>=1.1.0"
]
[project.scripts]
terravision = "terravision.terravision:main"
[tool.poetry]
name = "terravision"
version = "0.22.0"
description = "Terraform Architecture Visualizer"
authors = ["Patrick Chugh <terravisionapp@gmail.com>"]
license = "AGPL-3.0-only"
readme = "README.md"
exclude = []
packages = [
{ include = "terravision" },
{ include = "modules" },
{ include = "resource_classes" }
]
include = [
{ path = "terravision.py", format = ["sdist", "wheel"] },
{ path = "pyproject.toml", format = ["sdist", "wheel"] },
{ path = "shiftLabel.gvpr", format = ["sdist", "wheel"] },
{ path = "terravision.bat", format = ["sdist", "wheel"] },
{ path = "resource_images/**/*", format = ["sdist", "wheel"] },
{ path = "hcl2/**/*", format = ["sdist", "wheel"] }
]
[tool.poetry.dependencies]
click = "8.1.3"
GitPython = "3.1.31"
graphviz = "0.20.1"
tqdm = "4.65.0"
python-hcl2 = "4.3.0"
python = ">=3.11"
PyYAML = ">=6.0"
debugpy = "^1.8.0"
ipaddr = "^2.2.0"
ollama = "^0.6.1"
requests = ">=2.32.3"
typing-extensions = "^4.0.0"
tomli = "^2.0.1"
graphviz2drawio = "^1.0.0"
[tool.poetry.scripts]
terravision = "terravision.terravision:main"
[tool.poetry.group.test.dependencies]
pytest = "^7.3.1"
black = "24.3.0"
isort = "^5.12.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "<4.0"
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
# use a double-quoted string with escaped backslash so the regex is valid TOML
include = "\\.pyi?$"
# use a literal (single-quoted triple) string so backslashes inside are not treated as escapes
extend-exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
skip = ["drawing.py"]