forked from Yelp/detect-secrets
-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
54 lines (50 loc) · 893 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
44
45
46
47
48
49
50
51
52
53
54
[tool.ruff]
line-length = 100
select = [
"A",
"ARG",
"B",
"C4",
"E",
"F",
"I",
"N",
"PGH",
"RUF",
"S",
"SIM",
"T10",
"T20",
"UP",
"W",
"YTT",
]
exclude = [
"bumpity.py",
"scripts",
"test_data",
"test_diff",
"tests",
"testing",
"venv",
]
ignore = [
"A001",
"A002",
"A003",
"ARG002",
"B904", # should be handled properly at some point
"I001",
"PGH003", # should be handled properly at some point
"RUF012",
"S113", # should be handled properly at some point
"UP006",
"UP007",
"UP032", # should be handled properly at some point
]
target-version = "py38"
[tool.ruff.per-file-ignores]
"detect_secrets/plugins/*" = ["S105"]
"detect_secrets/audit/io.py" = ["T201"]
"detect_secrets/main.py" = ["T201"]
"detect_secrets/pre_commit_hook.py" = ["T201"]