-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruff.toml
More file actions
48 lines (43 loc) · 880 Bytes
/
ruff.toml
File metadata and controls
48 lines (43 loc) · 880 Bytes
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
target-version = "py310"
line-length = 100
indent-width = 4
required-version = ">=0.12.0"
show-fixes = true
include = [
"**.py"
]
exclude = [
"**/__pycache__",
"**/.coverage",
"**/.ipynb_checkpoints",
"**/.mypy_cache",
"**/.nox",
"**/.pytest_cache",
"**/.ruff_cache",
"**/.tox",
"**/.venv",
"**/build",
"**/dist",
"**/env",
"**/node_modules",
"**/site-packages",
"**/htmlcov",
".git",
]
force-exclude = true
[lint]
select = ["ASYNC", "B", "E", "F", "I", "SIM", "UP", "W"]
ignore = ["E501"]
[lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/tests/**" = ["E402", "S101"]
"**/test_*.py" = ["S101"]
[lint.isort]
known-first-party = ["subconscious"]
no-sections = false
[format]
quote-style = "single"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
docstring-code-format = true