-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ruff.toml
46 lines (40 loc) · 842 Bytes
/
.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
src = ["src"]
# max-line-length = 88
line-length = 110
extend-select = [
"I", # isort
"D", # pydocstyle
"UP", # pyupgrade
]
ignore = [
# D100 Missing docstring in public module
"D100",
# D100 Missing docstring in public module
"D104",
# D107: Missing docstring in __init__
"D107",
# D105: Missing docstring in magic method
"D105",
# D418: Function/ Method decorated with @overload shouldn’t contain a docstring
"D418",
]
# Exclude a variety of commonly ignored directories.
exclude = [
"__pycache__",
".egg-info",
".eggs",
".git",
".pytest_cache",
".tox",
"build",
"dist",
"examples",
"venv",
]
[isort]
# Mark sqlfluff, test and it's plugins as known first party
known-first-party = [
"stmdency",
]
[pydocstyle]
convention = "google"