Skip to content

chore: fix _make_request not using it #66

chore: fix _make_request not using it

chore: fix _make_request not using it #66

Workflow file for this run

on:
push:
paths:
- 'scrapegraph-py/**'
- '.github/workflows/pylint.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install dependencies
run: |
cd scrapegraph-py
uv sync --frozen
- name: Analysing the code with pylint
run: |
cd scrapegraph-py
uv run poe pylint-ci
- name: Check Pylint score
run: |
cd scrapegraph-py
pylint_score=$(uv run poe pylint-score-ci | grep 'Raw metrics' | awk '{print $4}')
if (( $(echo "$pylint_score < 8" | bc -l) )); then
echo "Pylint score is below 8. Blocking commit."
exit 1
else
echo "Pylint score is acceptable."
fi