Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
add new pipeline
VinciGit008449e1d8df12
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.ymlindex 464080ff..7d2b2b48 100644--- a/.github/workflows/pylint.yml+++ b/.github/workflows/pylint.yml@@ -1,5 +1,3 @@-name: Pylint-on: [push]jobs:@@ -20,4 +18,13 @@ jobs:pip install pylintpip install -r requirements.txt- name: Analysing the code with pylint- run: pylint --disable=C0114,C0115,C0116 --exit-zero scrapegraphai/**/*.py scrapegraphai/*.py\ No newline at end of file+ run: pylint --disable=C0114,C0115,C0116 --exit-zero scrapegraphai/**/*.py scrapegraphai/*.py+ - name: Check Pylint score+ run: |+ pylint_score=$(pylint --disable=all --enable=metrics --output-format=text scrapegraphai/**/*.py scrapegraphai/*.py | 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