-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (97 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
105 lines (97 loc) · 1.45 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
###########
# 📜 Poetry
###########
[tool.poetry]
name = "c581"
version = "0.0.0"
description = "DO NOT USE THIS PACKAGE."
authors = ["Coefficient Systems Ltd <contact@coefficient.ai>"]
license = "UNLICENSED"
classifiers = ["Private :: Do Not Upload"]
packages = [
{ include = "c581", from = "c581" },
]
[tool.poetry.dependencies]
python = "^3.12.2"
# Everything below here is alphabetically sorted
typer = "^0.12.3"
[tool.poetry.dev-dependencies]
# Everything below here is alphabetically sorted
detect-secrets = "1.2.0"
ipdb = "^0.13.13"
pip-audit = "^2.7.3"
pre-commit = "^3.7.0"
pytest = "^8.2.0"
ruff = "^0.1.14"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
############
# ✅ Linters
############
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py312"
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
"A",
"AIR",
"ARG",
"B",
"C4",
"C90",
"COM",
# "CPY",
"D",
"DJ",
"DTZ",
"E",
# "E4", "E7", "E9",
"ERA",
"EXE",
"F",
"FA",
"FIX",
"FLY",
# "FURB",
"G",
"I",
"ICN",
"INP",
"INT",
"ISC",
# "LOG",
"N",
"NPY",
"PD",
"PERF",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"SLOT",
"T10",
"T20",
"TCH",
"TD",
"TID",
"TRY",
"UP",
"W",
]
fixable = ["ALL"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"