• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hhursev / recipe-scraper / 12536707618
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: site/post_punk_kitchen
DEFAULT BRANCH: master
Ran 29 Dec 2024 03:43PM UTC
Jobs 1
Files 426
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Dec 2024 03:41PM UTC coverage: 95.624%. Remained the same
12536707618

push

github

web-flow
Update generate.py (#1451)

* Currently, generate.py tries to insert new `from ... import ...` statements after the first line (See https://github.com/hhursev/recipe-scrapers/issues/1259 and https://github.com/hhursev/recipe-scrapers/pull/1427#issuecomment-2526395409).
* It looks like the `node.level > 0` condition was added to skip the first item (`from __future__ import annotations`, which the generator considers to be a valid scraper class), but unfortunately `self.last_node = node` is still reached. The second time `__import()` is called, the first line is `self.last_node` and the new import is added beneath it.
* This PR moves the `node.level > 0` condition up into the parent `if` statement to avoid `self.last_node = node` from being called. Luckily, this doesn't impact the `elif` beneath it.
* I manually validated that we can insert a new scraper class named "AAA" and "ZZZ"

619 of 655 branches covered (94.5%)

7496 of 7839 relevant lines covered (95.62%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12536707618.1 29 Dec 2024 03:43PM UTC 0
95.62
GitHub Action Run
Source Files on build 12536707618
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12536707618
  • 1436196d on github
  • Prev Build on main (#12523866266)
  • Next Build on main (#12538646764)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc