blob: dbd137cff7743de8a9cea7e6c4c3485823d23ccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[tool.ruff]
target-version = "py37"
select = [
"B",
"C",
"E",
"F",
"I",
"SIM300",
"UP",
]
ignore = [
"C901", # Complexity
"E501", # Line length
"E731", # Do not assign a lambda expression (we use them on purpose)
"E741", # Ambiguous variable name
"UP012", # "utf-8" is on purpose
]
extend-exclude = [
"tests/messages/data",
]
[tool.ruff.per-file-ignores]
"scripts/import_cldr.py" = ["E402"]
|