-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
77 lines (73 loc) · 1.34 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
73
74
75
76
77
[tool.mypy]
python_version = "3.10"
no_implicit_optional = true
strict_optional = true
warn_return_any = true
warn_no_return = true
warn_unreachable = true
pretty = true
[tool.ruff]
fix = true
target-version = "py310"
line-length = 100
exclude = [
"__pycache__",
".venv",
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
unfixable = []
ignore = [
"ISC001",
# "B008", # do not perform function calls in argument defaults
# "B904", # TODO only temporary. should be fixed.
"E501", # line too long
"PLR2004", # magic numbers
# "N815", # mixedCase variable in class scope
# "N803", # argument name should be lowercase
# "N806", # variable in function should be lowercase
# "N812", # lowercase imported as non lowercase
"N999", # Invalid module name: 'Browser'
# "PLR0913", # too many arguments
"INP001", # Implicit Namespace
"T201", # Print statements
"PYI041", # `float` instead of `int | float`
"PTH", # Pathlib
]
select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"B",
"PYI",
"PL",
"PTH",
"UP",
"A",
"C4",
"DTZ",
"ISC",
"ICN",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"RSE",
"RET",
"SIM",
"RUF"
]
[tool.robocop]
paths = ["."]
include = ["W0504", "W0302"]
exclude = ["W0201", "W0202", "W0203", "W0504"]
reports = [
"rules_by_id",
"scan_timer"
]
ignore = ["ignore_me.robot"]