Skip to content

Commit 08a87ac

Browse files
committed
SDK regeneration
1 parent 5aca546 commit 08a87ac

File tree

18 files changed

+363
-229
lines changed

18 files changed

+363
-229
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,3 @@ jobs:
3535

3636
- name: Test
3737
run: poetry run pytest -rP .
38-
39-
publish:
40-
needs: [compile, test]
41-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
42-
runs-on: ubuntu-latest
43-
steps:
44-
- name: Checkout repo
45-
uses: actions/checkout@v4
46-
- name: Set up python
47-
uses: actions/setup-python@v4
48-
with:
49-
python-version: 3.8
50-
- name: Bootstrap poetry
51-
run: |
52-
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
53-
- name: Install dependencies
54-
run: poetry install
55-
- name: Publish to pypi
56-
run: |
57-
poetry config repositories.remote https://upload.pypi.org/legacy/
58-
poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
59-
env:
60-
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
61-
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

pyproject.toml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
2-
name = "browser-use-sdk"
2+
name = "browser-use"
33

44
[tool.poetry]
5-
name = "browser-use-sdk"
6-
version = "2.0.1"
5+
name = "browser-use"
6+
version = "0.0.0"
77
description = ""
88
readme = "README.md"
99
authors = []
@@ -24,9 +24,11 @@ classifiers = [
2424
"Operating System :: POSIX :: Linux",
2525
"Operating System :: Microsoft :: Windows",
2626
"Topic :: Software Development :: Libraries :: Python Modules",
27-
"Typing :: Typed",
27+
"Typing :: Typed"
28+
]
29+
packages = [
30+
{ include = "browser_use_sdk", from = "src"}
2831
]
29-
packages = [{ include = "browser_use", from = "src" }]
3032

3133
[project.urls]
3234
Repository = 'https://github.com/browser-use/browser-use-python'
@@ -47,7 +49,7 @@ types-python-dateutil = "^2.9.0.20240316"
4749
ruff = "==0.11.5"
4850

4951
[tool.pytest.ini_options]
50-
testpaths = ["tests"]
52+
testpaths = [ "tests" ]
5153
asyncio_mode = "auto"
5254

5355
[tool.mypy]
@@ -58,20 +60,20 @@ line-length = 120
5860

5961
[tool.ruff.lint]
6062
select = [
61-
"E", # pycodestyle errors
62-
"F", # pyflakes
63-
"I", # isort
63+
"E", # pycodestyle errors
64+
"F", # pyflakes
65+
"I", # isort
6466
]
6567
ignore = [
66-
"E402", # Module level import not at top of file
67-
"E501", # Line too long
68-
"E711", # Comparison to `None` should be `cond is not None`
69-
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
70-
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
71-
"E722", # Do not use bare `except`
72-
"E731", # Do not assign a `lambda` expression, use a `def`
73-
"F821", # Undefined name
74-
"F841", # Local variable ... is assigned to but never used
68+
"E402", # Module level import not at top of file
69+
"E501", # Line too long
70+
"E711", # Comparison to `None` should be `cond is not None`
71+
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
72+
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
73+
"E722", # Do not use bare `except`
74+
"E731", # Do not assign a `lambda` expression, use a `def`
75+
"F821", # Undefined name
76+
"F841" # Local variable ... is assigned to but never used
7577
]
7678

7779
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)