osmith submitted this change.
ruff.toml: new file
Add a file in the root dir of the repository to allow running
"ruff format" in order to auto-format the code with expected max line
length, PEP-8, etc.
Replace _testenv/pyproject.toml with .ruff.toml in the root directory of
the repository, so we can exclude "compare-results.py" which doesn't
follow that code style. Otherwise it would get formatted too when
running "ruff format" in the root dir of the repository.
Change-Id: I97ed1ececba85008ca754cf91bf46522e168a894
---
A .ruff.toml
D _testenv/pyproject.toml
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.ruff.toml b/.ruff.toml
new file mode 100644
index 0000000..ad8c0b5
--- /dev/null
+++ b/.ruff.toml
@@ -0,0 +1,4 @@
+line-length = 120
+exclude = [
+ "compare-results.py",
+]
diff --git a/_testenv/pyproject.toml b/_testenv/pyproject.toml
deleted file mode 100644
index 3719b74..0000000
--- a/_testenv/pyproject.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[tool.ruff]
-line-length=120
To view, visit change 38283. To unsubscribe, or for help writing mail filters, visit settings.