Skip to content

Commit 5ffad91

Browse files
authored
Merge pull request #869 from ScrapeGraphAI/pre/beta
Pre/beta
2 parents 809796c + 6e375f5 commit 5ffad91

File tree

134 files changed

+3420
-1781
lines changed

Some content is hidden

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

134 files changed

+3420
-1781
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
1+
name: Code Quality Checks
2+
13
on:
24
push:
35
paths:
46
- 'scrapegraphai/**'
57
- '.github/workflows/pylint.yml'
68

79
jobs:
8-
build:
10+
quality:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v3
14+
1215
- name: Install uv
1316
uses: astral-sh/setup-uv@v3
17+
1418
- name: Install dependencies
1519
run: uv sync --frozen
20+
21+
- name: Run Ruff
22+
run: uv run ruff check scrapegraphai
23+
24+
- name: Run Black
25+
run: uv run black --check scrapegraphai
26+
27+
- name: Run isort
28+
run: uv run isort --check-only scrapegraphai
29+
1630
- name: Analysing the code with pylint
1731
run: uv run poe pylint-ci
32+
1833
- name: Check Pylint score
1934
run: |
2035
pylint_score=$(uv run poe pylint-score-ci | grep 'Raw metrics' | awk '{print $4}')
@@ -23,4 +38,4 @@ jobs:
2338
exit 1
2439
else
2540
echo "Pylint score is acceptable."
26-
fi
41+
fi

.gitignore

+150
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,153 @@ lib/
4242
# extras
4343
cache/
4444
run_smart_scraper.py
45+
46+
# Byte-compiled / optimized / DLL files
47+
__pycache__/
48+
*.py[cod]
49+
*$py.class
50+
51+
# C extensions
52+
*.so
53+
54+
# Distribution / packaging
55+
.Python
56+
build/
57+
develop-eggs/
58+
dist/
59+
downloads/
60+
eggs/
61+
.eggs/
62+
lib/
63+
lib64/
64+
parts/
65+
sdist/
66+
var/
67+
wheels/
68+
share/python-wheels/
69+
*.egg-info/
70+
.installed.cfg
71+
*.egg
72+
MANIFEST
73+
74+
# PyInstaller
75+
*.manifest
76+
*.spec
77+
78+
# Installer logs
79+
pip-log.txt
80+
pip-delete-this-directory.txt
81+
82+
# Unit test / coverage reports
83+
htmlcov/
84+
.tox/
85+
.nox/
86+
.coverage
87+
.coverage.*
88+
.cache
89+
nosetests.xml
90+
coverage.xml
91+
*.cover
92+
*.py,cover
93+
.hypothesis/
94+
.pytest_cache/
95+
.ruff_cache/
96+
cover/
97+
98+
# Translations
99+
*.mo
100+
*.pot
101+
102+
# Django stuff:
103+
*.log
104+
local_settings.py
105+
db.sqlite3
106+
db.sqlite3-journal
107+
108+
# Flask stuff:
109+
instance/
110+
.webassets-cache
111+
112+
# Scrapy stuff:
113+
.scrapy
114+
115+
# Sphinx documentation
116+
docs/_build/
117+
118+
# PyBuilder
119+
.pybuilder/
120+
target/
121+
122+
# Jupyter Notebook
123+
.ipynb_checkpoints
124+
125+
# IPython
126+
profile_default/
127+
ipython_config.py
128+
129+
# pyenv
130+
.python-version
131+
132+
# pipenv
133+
Pipfile.lock
134+
135+
# poetry
136+
poetry.lock
137+
138+
# pdm
139+
pdm.lock
140+
.pdm.toml
141+
142+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
143+
__pypackages__/
144+
145+
# Celery stuff
146+
celerybeat-schedule
147+
celerybeat.pid
148+
149+
# SageMath parsed files
150+
*.sage.py
151+
152+
# Environments
153+
.env
154+
.venv
155+
env/
156+
venv/
157+
ENV/
158+
env.bak/
159+
venv.bak/
160+
161+
# Spyder project settings
162+
.spyderproject
163+
.spyproject
164+
165+
# Rope project settings
166+
.ropeproject
167+
168+
# mkdocs documentation
169+
/site
170+
171+
# mypy
172+
.mypy_cache/
173+
.dmypy.json
174+
dmypy.json
175+
176+
# Pyre type checker
177+
.pyre/
178+
179+
# pytype static type analyzer
180+
.pytype/
181+
182+
# Cython debug symbols
183+
cython_debug/
184+
185+
# PyCharm
186+
.idea/
187+
188+
# VS Code
189+
.vscode/
190+
191+
# macOS
192+
.DS_Store
193+
194+
dev.ipynb

.pre-commit-config.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 24.8.0
4+
hooks:
5+
- id: black
6+
7+
- repo: https://github.com/charliermarsh/ruff-pre-commit
8+
rev: v0.6.9
9+
hooks:
10+
- id: ruff
11+
12+
- repo: https://github.com/pycqa/isort
13+
rev: 5.13.2
14+
hooks:
15+
- id: isort
16+
17+
- repo: https://github.com/pre-commit/pre-commit-hooks
18+
rev: v4.6.0
19+
hooks:
20+
- id: trailing-whitespace
21+
- id: end-of-file-fixer
22+
- id: check-yaml
23+
exclude: mkdocs.yml

CHANGELOG.md

+56-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,59 @@
1-
## [1.34.2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.34.1...v1.34.2) (2025-01-06)
1+
## [1.35.0-beta.4](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.35.0-beta.3...v1.35.0-beta.4) (2025-01-06)
2+
3+
4+
### Features
5+
6+
* ⏰added graph timeout and fixed model_tokens param ([#810](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/810) [#856](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/856) [#853](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/853)) ([01a331a](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/01a331afa5fc6f6d6aea4f1969cbf41f0b25f5e0))
7+
8+
## [1.35.0-beta.3](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.35.0-beta.2...v1.35.0-beta.3) (2025-01-06)
9+
10+
11+
### Features
12+
13+
* serper api search ([1c0141f](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/1c0141fd281881e342a113d5a414930d8184146b))
14+
15+
## [1.35.0-beta.2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.35.0-beta.1...v1.35.0-beta.2) (2025-01-06)
16+
17+
18+
### Features
19+
20+
* add codequality workflow ([4380afb](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/4380afb5c15e7f6057fd44bdbd6bde410bb98378))
21+
22+
## [1.35.0-beta.1](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.34.3-beta.1...v1.35.0-beta.1) (2025-01-06)
23+
24+
25+
### Features
26+
27+
* ⛏️ enhanced contribution and precommit added ([fcbfe78](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fcbfe78983c5c36fe5e4e0659ccfebc7fd9952b4))
28+
* add timeout and retry_limit in loader_kwargs ([#865](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/865) [#831](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/831)) ([21147c4](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/21147c46a53e943dd5f297e6c7c3433edadfbc27))
29+
30+
31+
### Bug Fixes
32+
33+
* local html handling ([2a15581](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/2a15581865d84021278ec0bf601172f6f8343717))
34+
35+
## [1.34.3-beta.1](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.34.2...v1.34.3-beta.1) (2025-01-06)
36+
37+
38+
### Bug Fixes
39+
40+
* browserbase integration ([752a885](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/752a885f5c521b7141728952d913a5a25650d8e2))
41+
42+
43+
### CI
44+
45+
* **release:** 1.34.2-beta.1 [skip ci] ([f383e72](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/f383e7283727ad798fe152434eee7e6750c36166)), closes [#861](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/861) [#861](https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/861)
46+
* **release:** 1.34.2-beta.2 [skip ci] ([93fd9d2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/93fd9d29036ce86f6a17f960f691bc6e4b26ea51))
47+
48+
## [1.34.2-beta.2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.34.2-beta.1...v1.34.2-beta.2) (2025-01-06)
49+
50+
51+
### Bug Fixes
52+
53+
* browserbase integration ([752a885](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/752a885f5c521b7141728952d913a5a25650d8e2))
54+
55+
## [1.34.2-beta.1](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.34.1...v1.34.2-beta.1) (2025-01-06)
56+
257

358

459
### Bug Fixes

0 commit comments

Comments
 (0)