-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (115 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
128 lines (115 loc) · 2.1 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[project]
name = "engine-tools"
version = "4.27.0"
description = "Python tools for DSW Engine"
readme = "README.md"
requires-python = ">=3.12"
[project.urls]
Homepage = "https://ds-wizard.org"
Repository = "https://github.com/ds-wizard/engine-tools"
Documentation = "https://guide.ds-wizard.org"
Issues = "https://github.com/ds-wizard/ds-wizard/issues"
[dependency-groups]
dev = [
"ruff==0.14.13",
"ty==0.0.12",
]
[tool.uv.sources]
dsw-command-queue = { workspace = true }
dsw-config = { workspace = true }
dsw-data-seeder = { workspace = true }
dsw-database = { workspace = true }
dsw-document-worker = { workspace = true }
dsw-mailer = { workspace = true }
dsw-models = { workspace = true }
dsw-storage = { workspace = true }
dsw-tdk = { workspace = true }
[tool.uv.workspace]
members = [ "packages/*" ]
[tool.ty.src]
include = ["packages/*/dsw"]
[tool.ruff]
target-version = "py313"
line-length = 100
indent-width = 4
include = ["packages/*/dsw/**/*.py"]
[tool.ruff.lint]
select = [
#"A",
"E",
"F",
"COM",
"B",
#"PL",
"UP",
"S",
"N",
"PERF",
"PGH",
"FURB",
"I",
"ERA",
"FAST",
"YTT",
#"ANN",
#"ASYNC",
#"BLE",
#"FBT",
"C4",
#"CPY",
"DTZ",
"T10",
#"EM",
"EXE",
"FIX",
"FA",
"INT",
#"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SIM",
"SLOT",
#"TID",
"TD",
"TC",
#"ARG",
"PTH",
"FLY",
"C90",
#"RUF",
#"TRY",
]
ignore = [
"S404", "S603", # subprocess used in controlled way only
]
preview = true
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint.isort]
lines-after-imports = 2
section-order = [
"future",
"standard-library",
"third-party",
"monorepo",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
"monorepo" = ["dsw"]
[tool.ruff.lint.flake8-bandit]
allowed-markup-calls = ["markdown.markdown"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.ruff.lint.pep8-naming]
extend-ignore-names = ["mcs"]