Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (89 loc) · 2.7 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (89 loc) · 2.7 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
[project]
name = "suite"
authors = [
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io" },
]
description = "Frappe Suite — Drive, Slides, Writer, Sheets, Meet, Mail, Calendar in one app."
readme = "README.md"
version = "0.0.1"
requires-python = ">=3.14,<3.15"
dependencies = [
# drive
"av>=12.0.0",
"mimemapper==0.4.1",
"pymupdf>=1.24.0",
"boto3~=1.43.29",
"pycrdt==0.12.26",
"lxml~=6.1", # drive: WebDAV XML (previously only a transitive dep via frappe)
# kept for other suite modules (drive dropped these): PyJWT→meet, Markdown→writer, beautifulsoup4→mail/client
"PyJWT>=2.8.0",
"Markdown==3.8.2",
"beautifulsoup4>=4.13.5,<5",
# mail
"lmdb~=1.7.1",
"wrapt~=1.17.3",
"msgpack~=1.2.1",
"isodate~=0.7.2",
"tantivy~=0.26.0",
"icalendar~=6.1.0",
"pydenticon~=0.3.1",
"jmaplib[push]~=3.0.1",
# sheets — AI Assist (Claude)
"anthropic>=0.40",
]
[deploy.dependencies.apt]
packages = [
"ffmpeg", # drive: video thumbnails/transcode
]
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[tool.bench.frappe-dependencies]
frappe = ">=16.0.0,<18.0.0"
[tool.ruff]
line-length = 110
target-version = "py314"
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"UP",
"B",
"RUF",
]
ignore = [
"B017", # assertRaises(Exception) - should be more specific
"B018", # useless expression, not assigned to anything
"B023", # function doesn't bind loop variable - will have last iteration's value
"B904", # raise inside except without from
"E101", # indentation contains mixed spaces and tabs
"E402", # module level import not at top of file
"E501", # line too long
"E741", # ambiguous variable name
"F401", # "unused" imports
"F403", # can't detect undefined names from * import
"F405", # can't detect undefined names from * import
"F722", # syntax error in forward type annotation
"W191", # indentation contains tabs
"UP030", # Use implicit references for positional format fields (translations)
"UP031", # Use format specifiers instead of percent format
"UP032", # Use f-string instead of `format` call (translations)
]
typing-modules = ["frappe.types.DF"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.bench]
validation-ignore = [
# standalone services, each deployed and run outside the Frappe site
"suite/meet/sfu-server/*", # includes the nested stt-server
"suite/meet/recorder-server/*",
"suite/sheets/collab-server/*",
]
[tool.bench.assets]
build_dir = "./frontend"
out_dir = "../suite/public/frontend"
index_html_path = "../suite/www/suite.html"