-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (66 loc) · 1.15 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[project]
name = "sublime-tailwindcss-class-sorter"
dynamic = ["version"]
requires-python = ">= 3.8"
dependencies = [
#"black @ git+https://github.com/LetsZiggy/black.git@indent-2",
#"black @ git+https://github.com/LetsZiggy/black.git@indent-tab",
"ruff",
"typing_extensions",
]
[tool.basedpyright]
venvPath = "."
venv = "venv"
#pythonVersion = "3.8" # optional
[[tool.basedpyright.executionEnvironments]]
root = "."
extraPaths = []
#pythonVersion = "3.8" # optional
pythonPlatform = "Linux"
[tool.ruff]
extend-exclude = [
"CVS",
"__pycache__",
".env",
".venv",
"env",
"venv",
]
fix = true
force-exclude = true
line-length = 120
#target-version = "py38" # see [project].requires-python
[tool.ruff.format]
indent-style = "tab"
quote-style = "double"
[tool.ruff.lint]
extend-select = [
"C90",
"I",
"N",
"A",
"COM",
"PIE",
"PT",
"Q",
"SIM",
"PLR",
]
extend-ignore = [
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
] # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
[tool.ruff.pycodestyle]
max-doc-length = 120