mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:43:28 +02:00
Ruff enable type annotations rule (#362)
This PR enables the ruff rule for return type annotations (ANN), and adds the ty package for type checking.
This commit is contained in:
committed by
GitHub
parent
dd0b439bbe
commit
a39e0d204a
@@ -5,9 +5,9 @@ line-ending = "lf"
|
||||
quote-style = "double"
|
||||
|
||||
[lint]
|
||||
# to be enabled: ANN, BLE, C90, CPY, D, DOC, DTZ, FBT, G, PL, RSE, SLF, SIM, TC, TRY, UP
|
||||
# to be enabled: BLE, C90, CPY, D, DOC, DTZ, FBT, G, PL, RSE, SLF, SIM, TC, TRY, UP
|
||||
extend-select = [
|
||||
"A", "ARG", "ASYNC",
|
||||
"A", "ARG", "ASYNC", "ANN",
|
||||
"B",
|
||||
"C4", "COM",
|
||||
"DTZ",
|
||||
|
||||
Reference in New Issue
Block a user