forked from jakecyr/openai-function-calling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
115 lines (115 loc) · 1.13 KB
/
ruff.toml
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
line-length = 88
target-version = "py39"
lint.select = [
"E",
"F",
"B",
"Q",
"I",
"N",
"D",
"UP",
"ANN",
"S",
"BLE",
"FBT",
"C4",
"FA",
"ICN",
"G004",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SLF",
"SIM",
"TID",
"TCH",
"ARG",
"PTH",
"TD",
"ERA",
"PL",
"PLE",
"PLR",
"PLW",
"RUF",
]
lint.fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
lint.ignore = ["D407", "D406", "D203", "ANN101", "D213", "PLR0913", "ANN401"]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".ruff_cache",
"build",
"dist",
"venv",
".venv",
]
[lint.per-file-ignores]
"tests/*" = [
"D103",
"S101",
"PLR2004",
"ANN001",
"D205",
"E501",
"D401",
"D101",
"ARG001",
]
"examples/*" = ["D103", "T201"]