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
|
target-version = "py38"
src = ["src"]
line-length = 79
format.preview = true
lint.preview = true
lint.select = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"Q",
"S",
"W",
"UP",
"ARG",
"ISC",
"PIE",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"TID",
"TRY",
"YTT",
"FURB",
]
lint.ignore = [
"C901",
"PYI011",
"RET504",
"RET505",
"RUF012",
"RUF022",
"TID252",
"TRY003",
]
[lint.isort]
combine-as-imports = true
[lint.per-file-ignores]
"conf/*" = ["D"]
"demo/*" = ["D", "S"]
"docs/*" = ["D", "S"]
"test/*" = ["D", "S"]
"demo/mpi-ref-v1/*" = ["F821", "PTH123", "FURB101"]
[lint.pydocstyle]
convention = "pep257"
|