-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (43 loc) · 929 Bytes
/
pyproject.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
[tool.pyright]
include = ["python/dsc"]
exclude = [
"**/node_modules",
"**/__pycache__",
"benchmarks",
"python/tests"
]
venvPath = "."
venv = "venv"
reportMissingImports = "error"
pythonVersion = "3.10"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
".pyenv",
".pytest_cache",
".ruff_cache",
".vscode",
".idea",
"__pypackages__",
"node_modules",
"site-packages",
"venv",
"benchmarks/*"
]
# Same as Black.
line-length = 88
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
ignore = ["F401"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"