generated from narumiruna/python-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
77 lines (67 loc) · 1.84 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
[project]
name = "mcpservertemplate"
version = "0.0.0"
description = ""
readme = "README.md"
requires-python = ">=3.12"
authors = [{ name = "narumi", email = "toucans-cutouts0f@icloud.com" }]
dependencies = ["loguru>=0.7.3", "mcp[cli]>=1.6.0"]
[project.scripts]
mcpservertemplate = "mcpservertemplate.server:main"
[dependency-groups]
dev = [
"pip>=25.2",
"pytest>=8.4.1",
"pytest-asyncio>=1.1.0",
"pytest-cov>=6.2.1",
"ruff>=0.12.7",
"ty>=0.0.9",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.bumpversion]
current_version = "0.0.0"
tag = true
commit = true
pre_commit_hooks = ["uv lock", "git add uv.lock"]
[tool.pytest]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C", # flake8-comprehensions
"DTZ", # flake8-datetimez
"E", # pycodestyle errors
"F", # pyflakes
"FURB", # refurb
"I", # isort
"G", # flake8-logging-format
"N", # pep8-naming
"PERF", # perflint
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # ruff-specific rules
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TRY002", # raise-vanilla-class
"TRY004", # type-check-without-type-error
"TRY203", # useless-try-except
"TRY300", # try-consider-else
"UP", # pyupgrade
"W", # pycodestyle warnings
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.tombi.format.rules]
key-value-equals-sign-alignment = true
trailing-comment-alignment = true