-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (39 loc) · 939 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
[tool.ruff]
target-version = "py311"
src = ["ddj_cloud", "scraper_template"]
indent-width = 4
line-length = 100
exclude = []
[tool.ruff.lint]
extend-select = [
"ARG", # unused-arguments
"B", # bugbear
"E", # pycodestyle
"EM", # errmsg
"F", # flake8
"I", # import order
"PYI", # pyi
"SIM", # simplify
# "T20", # print
"TCH", # type-checking
"TID", # tidy-imports
"UP", # pyupgrade
"FURB", # refurb
"W", # pycodestyle
# "D", # pydocstyle
"PL", # Pylint
]
ignore = [
"E501", # line too long
]
[tool.pyright]
pythonVersion = "3.11"
include = ["ddj_cloud", "scraper_template"]
exclude = []
typeCheckingMode = "standard"
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedImport = "none"
# reportUnknownMemberType = "warning"
# reportUnknownVariableType = "warning"
# reportUnknownArgumentType = "warning"
# reportUnknownFunctionType = "warning"