From 29a0d8fe5dcab2b8806c5fff349d9b09cc3d7843 Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Mon, 5 Jan 2026 12:04:58 +0100 Subject: [PATCH] ruff: add INP lint this checks for missing __init__.py files, there was one :) --- media_manager/auth/__init__.py | 0 ruff.toml | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 media_manager/auth/__init__.py diff --git a/media_manager/auth/__init__.py b/media_manager/auth/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/ruff.toml b/ruff.toml index fa401ad..c74a4e2 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,16 +1,19 @@ +namespace-packages = ["alembic", "metadata_relay"] + [format] line-ending = "lf" quote-style = "double" [lint] -# to be enabled: ANN, BLE, C90, CPY, D, DOC, DTZ, FBT, G, INP, INT, N, PERF, PIE, PL, PTH, RET, RSE, SLF, SIM, TC, TRY, UP +# to be enabled: ANN, BLE, C90, CPY, D, DOC, DTZ, FBT, G, INT, N, PERF, PIE, PL, PTH, RET, RSE, SLF, SIM, TC, TRY, UP extend-select = [ "A", "ARG", "ASYNC", "B", "C4", "COM", + "DTZ", "E", "EM", "EXE", "F", "FA", "FAST", "FIX", "FLY", "FURB", - "I", "ICN", "ISC", + "I", "ICN", "INP", "ISC", "LOG", "PGH", "PT", "PYI", "Q",