-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (55 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
65 lines (55 loc) · 1.53 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
[project]
name = "tdp-lib"
version = "2.0.0"
description = "TDP library for TDP Manager"
authors = [{ name = "TOSIT" }]
license = "Apache-2.0"
readme = "README.md"
requires-python = "==3.12.*"
dependencies = [
"ansible-core==2.16.15",
"networkx==3.6.1",
"PyYAML==6.0.3",
"GitPython==3.1.46",
"SQLAlchemy==2.0.46",
"click==8.3.1",
"tabulate==0.9.0", # Python 3.12 suported by 0.10.0 but not released yet (Not maintained)
"python-dotenv==1.2.0",
"jsonschema==4.26.0",
"pydantic==2.12.5",
"alembic==1.18.1",
]
[project.optional-dependencies]
visualization = [
"matplotlib==3.10.8",
"pydot==4.0.1",
]
postgresql = ["psycopg2-binary==2.9.11", "alembic-postgresql-enum==1.8.0"]
mysql = ["pymysql==1.1.2"]
[project.scripts]
tdp = "tdp.cli.__main__:cli"
[project.urls]
Homepage = "https://github.com/TOSIT-IO/tdp-lib"
Repository = "https://github.com/TOSIT-IO/tdp-lib"
Documentation = "https://github.com/TOSIT-IO/tdp-lib"
[dependency-groups]
dev = [
"pytest>=9.0.2,<10",
"ruff>=0.14.14,<1",
"pytest-xdist>=3.8.0,<4",
"python-lorem>=1.3.0.post3,<2", # Not maintained
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["tdp"]
[tool.ruff.lint]
preview = true
select = ["F", "W", "I", "CPY"]
[tool.ruff.lint.flake8-copyright]
notice-rgx = "\\A# Copyright \\d{4} TOSIT\\.IO\r?\n# SPDX-License-Identifier: Apache-2\\.0"
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["tests"]