diff mbox series

[layerindex-web,2/3] Configure ruff code formater to preserve quote style

Message ID 20251121203350.55855-2-piotr@qbee.io
State New
Headers show
Series [layerindex-web,1/3] Add support for Development Containers | expand

Commit Message

Piotr Buliński Nov. 21, 2025, 8:33 p.m. UTC
Current code uses a mix of single and double quotes, and that causes a
lot of code changes every time a file is formatted with ruff. This ruff
configuration gets us all the benfits of automated code formating
withough the downside of having to unify the whole code base in terms of
quote styling.

Signed-off-by: Piotr Buliński <piotr@qbee.io>
---
 ruff.toml | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 ruff.toml
diff mbox series

Patch

diff --git a/ruff.toml b/ruff.toml
new file mode 100644
index 0000000..cfce94a
--- /dev/null
+++ b/ruff.toml
@@ -0,0 +1,2 @@ 
+[format]
+quote-style = "preserve"
\ No newline at end of file