Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python

refactor: move ruff config from ruff.toml into pyproject.toml

jeomon315fe2574a2f
diff --git a/pyproject.toml b/pyproject.toml
index 5320126..202ecb6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -83,3 +83,15 @@ build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["windows_use"]
+
+[tool.ruff]
+line-length = 100
+target-version = "py310"
+
+[tool.ruff.format]
+quote-style = "double"
+indent-style = "space"
+
+[tool.ruff.lint]
+select = ["E", "W", "F", "I", "UP"]
+ignore = ["E501"]
diff --git a/ruff.toml b/ruff.toml
deleted file mode 100644
index 94e55d5..0000000
--- a/ruff.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-line-length = 100
-target-version = "py310"
-
-[format]
-quote-style = "double"
-indent-style = "space"
-
-[lint]
-select = [
- "E", # pycodestyle errors
- "W", # pycodestyle warnings
- "F", # pyflakes
- "I", # isort
- "UP", # pyupgrade
-]
-ignore = [
- "E501", # line too long (handled by formatter)
-]