diff options
| author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-09-04 12:09:49 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-04 12:09:49 +0530 |
| commit | eda05006bc9153934ecb4f2243027ee8c08619eb (patch) | |
| tree | ed85195a784cad147426fa44cd716a048c6ae353 | |
| parent | 8a241e2f5b2a371522cb7c1c840293eb9580c1d1 (diff) | |
| download | vyos-workflow-test-temp-eda05006bc9153934ecb4f2243027ee8c08619eb.tar.gz vyos-workflow-test-temp-eda05006bc9153934ecb4f2243027ee8c08619eb.zip | |
Update ruff.toml
| -rw-r--r-- | ruff.toml | 27 |
1 files changed, 9 insertions, 18 deletions
@@ -1,18 +1,9 @@ -# Same as Black.
-line-length = 100
-indent-width = 4
-
-# Assume Python 3.11
-target-version = "py311"
-
-[format]
-quote-style = "single"
-
-# Like Black, indent with spaces, rather than tabs.
-indent-style = "space"
-
-# Like Black, respect magic trailing commas.
-skip-magic-trailing-comma = false
-
-# Like Black, automatically detect the appropriate line ending.
-line-ending = "auto"
\ No newline at end of file +line-length = 100 # defaults to 88 like black
+target-version = "py39" # the python version to target, useful when considering code upgrades, defaults to "py310"
+
+select = [
+ "E", # pycodestyle
+ "F", # pyflakes
+ "UP", # pyupgrade,
+ "I", # isort
+]
|
