Skip to content

Commit e88a710

Browse files
committed
fix: linting errors
1 parent 2277c82 commit e88a710

File tree

99 files changed

+1304
-1427
lines changed

Some content is hidden

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

99 files changed

+1304
-1427
lines changed

.github/update-requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
git commit -m "ci: update requirements.txt [skip ci]"
2424
git push
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
# Prefix the list here with "+" to use these queries and those in the config file.
6161

6262
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
63-
# queries: security-extended,security-and-quality
63+
# queries: security-extended,security-and-quality

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
comment-summary-in-pr: always
3737
# fail-on-severity: moderate
3838
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
39-
# retry-on-snapshot-warnings: true
39+
# retry-on-snapshot-warnings: true

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
exit 1
2929
else
3030
echo "Pylint score is acceptable."
31-
fi
31+
fi

.github/workflows/python-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
19+
2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
24-
24+
2525
- name: Cache pip dependencies
2626
uses: actions/cache@v3
2727
with:
2828
path: ~/.cache/pip
2929
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
3030
restore-keys: |
3131
${{ runner.os }}-pip-${{ matrix.python-version }}-
32-
32+
3333
- name: Install dependencies
3434
run: |
3535
python -m pip install --upgrade pip
3636
pip install pytest pytest-asyncio responses
3737
cd scrapegraph-py
3838
pip install -e .
39-
39+
4040
- name: Run mocked tests with coverage
4141
run: |
4242
cd scrapegraph-py
@@ -64,4 +64,4 @@ jobs:
6464
git fetch --all --tags
6565
cd scrapegraph-py
6666
python -m build
67-
twine upload dist/*
67+
twine upload dist/*

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
runs-on: ubuntu-latest
4545
needs: build
4646
environment: development
47-
if: |
48-
github.event_name == 'push' && github.ref == 'refs/heads/main' ||
49-
github.event_name == 'push' && github.ref == 'refs/heads/pre/beta' ||
50-
github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' ||
47+
if: |
48+
github.event_name == 'push' && github.ref == 'refs/heads/main' ||
49+
github.event_name == 'push' && github.ref == 'refs/heads/pre/beta' ||
50+
github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' ||
5151
github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'pre/beta'
5252
permissions:
5353
contents: write
@@ -81,9 +81,9 @@ jobs:
8181
semantic_version: 23
8282
extra_plugins: |
8383
semantic-release-pypi@3
84-
@semantic-release/git
85-
@semantic-release/commit-analyzer@12
86-
@semantic-release/release-notes-generator@13
87-
@semantic-release/github@10
84+
@semantic-release/git
85+
@semantic-release/commit-analyzer@12
86+
@semantic-release/release-notes-generator@13
87+
@semantic-release/github@10
8888
@semantic-release/changelog@6
89-
conventional-changelog-conventionalcommits@7
89+
conventional-changelog-conventionalcommits@7

.github/workflows/test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
18+
1919
- name: Set up Python ${{ matrix.python-version }}
2020
uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
23-
23+
2424
- name: Cache pip dependencies
2525
uses: actions/cache@v3
2626
with:
2727
path: ~/.cache/pip
2828
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
2929
restore-keys: |
3030
${{ runner.os }}-pip-${{ matrix.python-version }}-
31-
31+
3232
- name: Install dependencies
3333
run: |
3434
python -m pip install --upgrade pip
3535
pip install pytest pytest-asyncio responses
3636
cd scrapegraph-py
3737
pip install -e .
38-
38+
3939
- name: Run mocked tests with coverage
4040
run: |
4141
pytest
@@ -49,22 +49,22 @@ jobs:
4949

5050
lint:
5151
runs-on: ubuntu-latest
52-
52+
5353
steps:
5454
- uses: actions/checkout@v4
55-
55+
5656
- name: Set up Python
5757
uses: actions/setup-python@v4
5858
with:
5959
python-version: "3.11"
60-
60+
6161
- name: Install dependencies
6262
run: |
6363
python -m pip install --upgrade pip
6464
pip install flake8 black isort mypy
6565
cd scrapegraph-py
6666
pip install -e .
67-
67+
6868
- name: Run linting
6969
run: |
7070
cd scrapegraph-py
@@ -75,24 +75,24 @@ jobs:
7575
7676
security:
7777
runs-on: ubuntu-latest
78-
78+
7979
steps:
8080
- uses: actions/checkout@v4
81-
81+
8282
- name: Set up Python
8383
uses: actions/setup-python@v4
8484
with:
8585
python-version: "3.11"
86-
86+
8787
- name: Install dependencies
8888
run: |
8989
python -m pip install --upgrade pip
9090
pip install bandit safety
9191
cd scrapegraph-py
9292
pip install -e .
93-
93+
9494
- name: Run security checks
9595
run: |
9696
cd scrapegraph-py
9797
bandit -r scrapegraph_py/ -f json -o bandit-report.json || true
98-
safety check --json --output safety-report.json || true
98+
safety check --json --output safety-report.json || true

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can find more informations at the following [link](https://scrapegraphai.com
2424
**Integrations**:
2525

2626
- **API**: [Documentation](https://docs.scrapegraphai.com/introduction)
27-
- **SDKs**: [Python](https://docs.scrapegraphai.com/sdks/python), [Node](https://docs.scrapegraphai.com/sdks/javascript)
27+
- **SDKs**: [Python](https://docs.scrapegraphai.com/sdks/python), [Node](https://docs.scrapegraphai.com/sdks/javascript)
2828
- **LLM Frameworks**: [Langchain](https://docs.scrapegraphai.com/integrations/langchain), [Llama Index](https://docs.scrapegraphai.com/integrations/llamaindex), [Crew.ai](https://docs.scrapegraphai.com/integrations/crewai), [CamelAI](https://github.com/camel-ai/camel)
2929
- **Low-code Frameworks**: [Pipedream](https://pipedream.com/apps/scrapegraphai), [Bubble](https://bubble.io/plugin/scrapegraphai-1745408893195x213542371433906180), [Zapier](https://zapier.com/apps/scrapegraphai/integrations), [n8n](http://localhost:5001/dashboard), [LangFlow](https://www.langflow.org)
3030
- **MCP server**: [Link](https://smithery.ai/server/@ScrapeGraphAI/scrapegraph-mcp)

cookbook/chat-webpage-simple-rag/scrapegraph_burr_lancedb.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,4 +684,4 @@
684684
},
685685
"nbformat": 4,
686686
"nbformat_minor": 0
687-
}
687+
}

0 commit comments

Comments
 (0)