-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (96 loc) · 1.57 KB
/
pyproject.toml
File metadata and controls
107 lines (96 loc) · 1.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
[project]
name = "captainslog"
version = "0.1.0"
description = "Personal task capture and agenda MCP server"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"authlib>=1.6.11",
"cryptography>=46.0.7",
"fastmcp>=3.2.0",
"python-multipart>=0.0.27",
]
[project.scripts]
captainslog = "captainslog.server:run"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-cov>=6.0.0",
"pip-audit>=2.0.0",
"ruff>=0.9.0",
]
[tool.uv]
package = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/captainslog"]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"N",
"UP",
"YTT",
"ANN",
"ASYNC",
"S",
"FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"EM",
"EXE",
"FA",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
"NPY",
"PERF",
"FURB",
"RUF",
]
ignore = ["FBT001", "S603", "G004", "S607", "COM812"]
unfixable = [
# Don't touch unused imports
"F401",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "PLR2004", "ANN"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.coverage.run]
source = ["captainslog"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
skip_empty = true
show_missing = true