diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-07-15 15:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 15:43:34 +0100 |
commit | 88878c9cd93485efbe7c5465ceacf2bbc8d121cd (patch) | |
tree | 2022aea997220616b6ba56e06bfa793be98ede35 | |
parent | 79d5230d3d91362e6292a1eb394b0beb7c38ef45 (diff) | |
parent | 3f0e48bb9f8ac7882a1c8ed64c6b53d9891df45a (diff) | |
download | vyos-1x-88878c9cd93485efbe7c5465ceacf2bbc8d121cd.tar.gz vyos-1x-88878c9cd93485efbe7c5465ceacf2bbc8d121cd.zip |
Merge pull request #3816 from zdc/T6583-current
ruff: T6583: Added settings for ruff
-rw-r--r-- | ruff.toml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 000000000..189f2838f --- /dev/null +++ b/ruff.toml @@ -0,0 +1,18 @@ +# Same as Black. +line-length = 88 +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" |