forked from gauge-sh/tach
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
133 lines (119 loc) Β· 3.69 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[project]
name = "tach"
version = "0.10.7"
authors = [
{ name = "Caelean Barnes", email = "[email protected]" },
{ name = "Evan Doyle", email = "[email protected]" },
]
description = "A Python tool to maintain a modular package architecture."
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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 :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"pyyaml~=6.0",
"tomli-w~=1.0",
"pydantic~=2.0",
"rich~=13.0",
"prompt-toolkit~=3.0",
"GitPython~=3.1",
"networkx~=3.0; python_version > '3.7'",
"networkx>=2.6,<4.0; python_version == '3.7'",
"pydot~=2.0",
"stdlib-list>=0.10.0; python_version < '3.10'",
"eval-type-backport>=0.2.0; python_version < '3.10' and python_version > '3.7'",
"importlib_metadata>=6.5; python_version == '3.7'",
]
keywords = [
'python',
'module',
'package',
'guard',
'enforcement',
'boundary',
'enforcer',
'domain',
'architecture',
]
[project.optional-dependencies]
dev = [
# Core deps (pinned)
"pydantic==2.8.2; python_version > '3.7'",
"rich==13.8.0",
"prompt-toolkit==3.0.47",
# Setup
"pip==24.0",
# Code Quality
"pyright==1.1.379",
"ruff==0.6.4",
# Build/Release
"setuptools==69.5.1; python_version > '3.7'",
"twine==5.1.1; python_version > '3.7'",
"build==1.2.1; python_version > '3.7'",
# Tests
"pytest==8.2.2; python_version > '3.7'",
"pytest-mock==3.14.0; python_version > '3.7'",
"coverage==7.6.0; python_version > '3.7'",
# Rust
"maturin==1.7.1",
# python version 3.7 pinned dependencies
"pydantic==2.5.3; python_version == '3.7'",
"setuptools==47.1.0; python_version == '3.7'",
"twine==4.0.2; python_version == '3.7'",
"build==1.1.1; python_version == '3.7'",
"pytest==7.4.4; python_version == '3.7'",
"pytest-mock==3.11.1; python_version == '3.7'",
"coverage==7.2.7; python_version == '3.7'",
]
[project.urls]
Homepage = "https://github.com/gauge-sh/tach"
Issues = "https://github.com/gauge-sh/tach/issues"
[tool.ruff]
src = ["python"]
exclude = ["python/tests/example"]
target-version = "py38"
lint.extend-select = ["I", "TCH", "UP"]
lint.ignore = ["UP006", "UP007"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.flake8-type-checking]
runtime-evaluated-base-classes = ["pydantic.BaseModel", "pydantic.RootModel"]
runtime-evaluated-decorators = [
"pydantic.dataclasses.dataclass",
"dataclasses.dataclass",
]
exempt-modules = ["typing", "typing_extensions"]
[tool.pyright]
include = ["python/tach"]
exclude = ["**/__pycache__", ".venv"]
strict = ["python/tach"]
executionEnvironments = [{ root = "python" }]
pythonVersion = "3.8"
[tool.pytest.ini_options]
norecursedirs = "python/tests/example"
[build-system]
requires = ["maturin>=1.5,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "python"
module-name = "tach.extension"
features = ["pyo3/extension-module"]
[project.scripts]
tach = "tach.start:start"