-
Notifications
You must be signed in to change notification settings - Fork 785
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (51 loc) · 885 Bytes
/
pyproject.toml
File metadata and controls
55 lines (51 loc) · 885 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
49
50
51
52
53
54
55
[tool.ruff]
target-version = "py310"
line-length = 88
exclude = [
"src/SeleniumLibrary/__init__.pyi",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"B",
"PYI",
"PL",
"UP",
"A",
"C4",
"DTZ",
"ISC",
"ICN",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"RSE",
"RET",
"SIM",
"RUF"
]
ignore = [
"E501", # line too long
"N803", # argument name should be lowercase
"N812", # lowercase imported as non lowercase
"N999", # Invalid module name: 'SeleniumLibrary'
"PLR0913", # too many arguments
"PLR2004", # Magic value used in comparison
"DTZ006", # No timezone specified
"PTH", # Use Path instead of os.path -> maybe soon
"N818", # exception naming convention
"PIE790", # Unnecessary placeholder (pass or ...)
]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
pythonpath = [
"src"
]