-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (94 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
111 lines (94 loc) · 2.61 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
102
103
104
105
106
107
108
109
110
111
[project]
name = "argo-tugboat"
version = "0.6.3-dev"
description = "Streamline your Argo Workflows with precision and confidence"
authors = [{ name = "Tzu-Ting", email = "tzingshih@gmail.com" }]
license = { text = "Apache-2.0" }
readme = "readme.pkg.rst"
requires-python = ">=3.12,<4.0"
dependencies = [
"cloup (>=3.0.5,<4.0.0)",
"colorlog (>=6.9.0,<7.0.0)",
"frozendict (>=2.4.6,<3.0.0)",
"lark (>=1.3.1,<2.0.0)",
"pluggy (>=1.5.0,<2.0.0)",
"pydantic (>=2.9.2,<3.0.0)",
"pydantic-settings (>=2.7.1,<3.0.0)",
"rapidfuzz (>=3.10.1,<4.0.0)",
"ruamel-yaml (>=0.18.6,<0.20.0)",
]
dynamic = ["classifiers"]
[project.urls]
repository = "https://github.com/tzing/tugboat"
documentation = "https://argo-tugboat.readthedocs.io/en/"
changelog = "https://argo-tugboat.readthedocs.io/en/stable/changelog.html"
[project.scripts]
tugboat = "tugboat.console:main"
[project.optional-dependencies]
mcp = ["mcp (>=1.12.1,<2.0.0)"]
[tool.poetry]
packages = [{ include = "tugboat" }]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
[tool.poetry.group.dev.dependencies]
dirty-equals = "^0.11.0"
fastmcp = "^2.11.3"
lxml = "^6.0.2"
pyright = "^1.1.386"
pytest = "^9.0.1"
pytest-asyncio = "^1.2.0"
pytest-cov = "^7.0.0"
ruff = "^0.14.7"
shibuya = ">=2024.10.15"
sphinx = "^8.1.3"
sphinx-design = "^0.6.1"
sphinx-iconify = "^0.2.1"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.bumpver]
current_version = "0.6.3-dev"
version_pattern = "MAJOR.MINOR.PATCH[-TAG]"
commit = false
[tool.bumpver.file_patterns]
"pyproject.toml" = ['version = "{version}"']
"tugboat/version.py" = ['__version__ = "{version}"']
[tool.coverage.run]
omit = ["tugboat/_vendor/*"]
[tool.coverage.report]
exclude_also = [
"if\\ typing\\.TYPE_CHECKING",
"if\\ os\\.getenv\\(\"DOCUTILSCONFIG\"\\)",
]
[tool.isort]
profile = "black"
[tool.pytest]
addopts = ["--cov=tugboat", "--cov-report=xml"]
[tool.ruff]
target-version = "py312"
exclude = ["tugboat/_vendor"]
[tool.ruff.lint.extend-per-file-ignores]
"tugboat/schemas/**" = ["TCH001"]
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # mccabe
"ERA", # flake8-eradicate/eradicate
"I", # isort
"PGH", # pygrep
"PIE", # flake8-pie
"PT", # flake8-pytest-style
"RUF", # ruff checks
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
]
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.pyright]
include = ["tugboat"]
exclude = ["tugboat/_vendor"]