Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
centralize ruff config
Nick Sweeting74e53fb318e1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 6789a094e..68bfa89bc 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -1,13 +1,10 @@repos:- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.3.0+ rev: v0.11.2hooks:- id: ruff- args: [- --line-length=130,- --select=E,F,I,- --fix,- ]+ - id: ruff-format+ # see pyproject.toml for more details on ruff config- repo: https://github.com/pre-commit/pre-commit-hooksrev: v5.0.0diff --git a/pyproject.toml b/pyproject.tomlindex bda33f1f4..934b3ea5e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -46,7 +46,9 @@ line-length = 130fix = true[tool.ruff.lint]-select = ["E", "F", "I"]+select = ["E", "F", "I", "PLE"]+ignore = ["E101", "E402", "E501"]+unfixable = ["E101", "E402", "E501", "F841"][tool.ruff.format]quote-style = "single"