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

Geoffery10 / Discord-Role-Manager / 27890045690 / 1
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 01:46AM UTC
Files 22
Run time 0s
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

21 Jun 2026 01:44AM UTC coverage: 64.804% (-0.003%) from 64.807%
27890045690.1

push

github

Geoffery10
Remove dead DEBUG branch in check_if_update_needed

check_if_update_needed had a 'DEBUG = False' local variable with an
if/else around the last_update.json write. The 'else' branch was
unreachable — DEBUG was hardcoded False at the top of the block, so
nothing could ever set it to True without source modification.

Inlined the JSON write into the surrounding if-block. The function
now reads as the day-changed gate it was meant to be: if today differs
from last_update.json, write the new date and run update().

If a 'skip the write for debugging' bypass is ever wanted back, it
should be wired through a real env var or function arg, not a local
boolean.

Side effect: update.py coverage jumps from 98% to 100% since the
unreachable line is gone.

1473 of 2273 relevant lines covered (64.8%)

0.65 hits per line

Source Files on job 27890045690.1
  • Tree
  • List 22
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27890045690
  • 685b88e3 on github
  • Prev Job for on main (#27889998957.1)
  • Next Job for on main (#27890233744.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc