-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (94 loc) · 2.57 KB
/
pyproject.toml
File metadata and controls
112 lines (94 loc) · 2.57 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
112
[project]
name = "click-clack"
version = "0.2.1"
description = "Autogenerated MCP Server & UI for all of your Click commands."
readme = "README.md"
authors = [{ name = "Jason Steving", email = "jasonmail99@gmail.com" }]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: User Interfaces",
"Intended Audience :: Developers",
]
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"asyncclick==8.1.*",
"click==8.1.*",
"marimo==0.11.*",
"mcp>=1.3.0",
]
[project.urls]
Homepage = "https://github.com/JasonSteving99/click-clack"
[project.scripts]
click-clack = "click_clack.click_clack:click_clack"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["click_clack"]
[tool.hatch.build.targets.wheel]
packages = ["click_clack"]
# I'll use this to deploy test versions to testpypi via:
# $ uv build
# $ uv publish --index=testpypi
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true # Ensure that uv doesn't pull any deps from testpypi without me noticing.
# Ruff configs
# (most are the defaults from here: https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml)
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
".venv",
]
# Same as Black.
line-length = 100
target-version = "py312"
[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["E", "F401"]
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
mccabe.max-complexity = 10
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
target-version = ['py312']
[tool.pytest.ini_options]
pythonpath = "."