Skip to content

Commit 6a4e4b6

Browse files
committed
SDK regeneration
1 parent d294cb7 commit 6a4e4b6

File tree

280 files changed

+27927
-8593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

280 files changed

+27927
-8593
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ci
33
on: [push]
44
jobs:
55
compile:
6-
runs-on: ubuntu-24.04
6+
runs-on: ubuntu-20.04
77
steps:
88
- name: Checkout repo
99
uses: actions/checkout@v3
@@ -19,7 +19,7 @@ jobs:
1919
- name: Compile
2020
run: poetry run mypy .
2121
test:
22-
runs-on: ubuntu-24.04
22+
runs-on: ubuntu-20.04
2323
steps:
2424
- name: Checkout repo
2525
uses: actions/checkout@v3
@@ -34,12 +34,12 @@ jobs:
3434
run: poetry install
3535

3636
- name: Test
37-
run: poetry run pytest ./tests/custom/
37+
run: poetry run pytest -rP .
3838

3939
publish:
4040
needs: [compile, test]
4141
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
42-
runs-on: ubuntu-24.04
42+
runs-on: ubuntu-20.04
4343
steps:
4444
- name: Checkout repo
4545
uses: actions/checkout@v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ dist/
22
.mypy_cache/
33
__pycache__/
44
poetry.toml
5+
.ruff_cache/

poetry.lock

Lines changed: 211 additions & 129 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "webflow"
3-
version = "1.2.2"
3+
version = "1.2.1"
44
description = ""
55
readme = "README.md"
66
authors = []
@@ -34,6 +34,7 @@ Repository = 'https://github.com/webflow/webflow-python'
3434
python = "^3.8"
3535
httpx = ">=0.21.2"
3636
pydantic = ">= 1.9.2"
37+
pydantic-core = "^2.18.2"
3738
typing_extensions = ">= 4.0.0"
3839

3940
[tool.poetry.dev-dependencies]
@@ -42,6 +43,7 @@ pytest = "^7.4.0"
4243
pytest-asyncio = "^0.23.5"
4344
python-dateutil = "^2.9.0"
4445
types-python-dateutil = "^2.9.0.20240316"
46+
ruff = "^0.5.6"
4547

4648
[tool.pytest.ini_options]
4749
testpaths = [ "tests" ]
@@ -50,6 +52,9 @@ asyncio_mode = "auto"
5052
[tool.mypy]
5153
plugins = ["pydantic.mypy"]
5254

55+
[tool.ruff]
56+
line-length = 120
57+
5358

5459
[build-system]
5560
requires = ["poetry-core"]

0 commit comments

Comments
 (0)