Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
feat: add codequality workflow
PeriniM4380afb5c15e
diff --git a/.github/workflows/pylint.yml b/.github/workflows/code-quality.ymlsimilarity index 72%rename from .github/workflows/pylint.ymlrename to .github/workflows/code-quality.ymlindex 8ff41bc9..2a3f6b5c 100644--- a/.github/workflows/pylint.yml+++ b/.github/workflows/code-quality.yml@@ -1,3 +1,5 @@+name: Code Quality Checks+on:push:paths:@@ -5,16 +7,29 @@ on:- '.github/workflows/pylint.yml'jobs:- build:+ quality:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v3+- name: Install uvuses: astral-sh/setup-uv@v3+- name: Install dependenciesrun: uv sync --frozen++ - name: Run Ruff+ run: uv run ruff check scrapegraphai++ - name: Run Black+ run: uv run black --check scrapegraphai++ - name: Run isort+ run: uv run isort --check-only scrapegraphai+- name: Analysing the code with pylintrun: uv run poe pylint-ci+- name: Check Pylint scorerun: |pylint_score=$(uv run poe pylint-score-ci | grep 'Raw metrics' | awk '{print $4}')@@ -23,4 +38,4 @@ jobs:exit 1elseecho "Pylint score is acceptable."- fi\ No newline at end of file+ fi