aboutsummaryrefslogtreecommitdiff
path: root/ruff.toml
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-06-04 10:47:42 -0500
committerChristian Cleberg <hello@cleberg.net>2025-06-04 10:47:42 -0500
commit708ccec8b23ee1a89ae34943a4ff2368b2b5ba51 (patch)
tree57285f8181a35746831523dae90081e893574faf /ruff.toml
parent3b0f036adc418cd5c587d7db6a11a20e8bdd5682 (diff)
downloadcleberg.net-708ccec8b23ee1a89ae34943a4ff2368b2b5ba51.tar.gz
cleberg.net-708ccec8b23ee1a89ae34943a4ff2368b2b5ba51.tar.bz2
cleberg.net-708ccec8b23ee1a89ae34943a4ff2368b2b5ba51.zip
feat(lint): added ruff.toml to automate linting and formatting
Diffstat (limited to 'ruff.toml')
-rw-r--r--ruff.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ruff.toml b/ruff.toml
new file mode 100644
index 0000000..66b2fa6
--- /dev/null
+++ b/ruff.toml
@@ -0,0 +1,14 @@
+exclude = [".venv"]
+line-length = 80
+indent-width = 4
+respect-gitignore = true
+show-fixes = true
+
+[format]
+docstring-code-format = true
+docstring-code-line-length = 80
+indent-style = "space"
+quote-style = "double"
+
+[lint]
+ignore = ["PLR0912"] \ No newline at end of file