mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:43:28 +02:00
this mostly adds a timeout=60 to all requests this does mainly wants a timeout to all requests functions, since when left out they hang infinitly. I added a timeout of 60s, which is probably way too high, but since before this there was none, I guess it's an improvement?
35 lines
699 B
TOML
35 lines
699 B
TOML
[format]
|
|
line-ending = "lf"
|
|
quote-style = "double"
|
|
|
|
[lint]
|
|
# to be enabled: A, ANN, ARG, BLE, C90, CPY, D, DOC, DTZ, FBT, G, INP, INT, N, PERF, PIE, PL, PTH, RET, RSE, SLF, SIM, TC, TRY, UP
|
|
extend-select = [
|
|
"ASYNC",
|
|
"B",
|
|
"C4", "COM",
|
|
"E", "EM", "EXE",
|
|
"F", "FA", "FAST", "FIX", "FLY", "FURB",
|
|
"I", "ICN", "ISC",
|
|
"LOG",
|
|
"PGH", "PT", "PYI",
|
|
"Q",
|
|
"RUF",
|
|
"S", "SLOT",
|
|
"T10", "TD", "TID",
|
|
"W",
|
|
"YTT"
|
|
]
|
|
|
|
ignore = [
|
|
# incompatible with formatter
|
|
"COM812",
|
|
# lines too long
|
|
"E501",
|
|
# currently a bug?! with providers and depends
|
|
"FAST003",
|
|
]
|
|
|
|
[lint.flake8-bugbear]
|
|
extend-immutable-calls = ["fastapi.Depends", "fastapi.Path"]
|