diff --git a/.gitignore b/.gitignore index 7663b0b..127363f 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,4 @@ data/papers/ *.h5 *.hdf5 main.py.bak +ruff.toml diff --git a/ruff.toml b/ruff.toml deleted file mode 100644 index 167b8ea..0000000 --- a/ruff.toml +++ /dev/null @@ -1,17 +0,0 @@ -# RMI Backend - Strict linting config -target-version = "py311" -line-length = 120 - -[lint] -select = [ - "E", "F", "I", "W", "UP", "B", "C4", "SIM", "RUF", -] -ignore = [ - "E501", # Line too long - "RUF006", # create_task result unused (fire-and-forget patterns) - "SIM102", # Nested if — existing code convention - "B008", # function-call-in-default (FastAPI Depends pattern, intentional) -] - -[lint.per-file-ignores] -"app/core/lifespan.py" = ["T20"] # print() for startup logging is intentional