Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Clean hooks

magmuellerc240a884cea6
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 57e42dd88..bc72bc805 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,23 +1,18 @@
repos:
- - repo: https://github.com/psf/black
- rev: 24.8.0
- hooks:
- - id: black
-
- - repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.6.9
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.3.0
hooks:
- id: ruff
-
- - repo: https://github.com/pycqa/isort
- rev: 5.13.2
- hooks:
- - id: isort
+ args: [
+ --line-length=100,
+ --select=E,F,I,
+ --fix,
+ ]
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.6.0
+ rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- exclude: mkdocs.yml
+ - id: check-toml