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

cjennings / emacs-wttrin / 25383586187
94%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 02:49PM UTC
Jobs 1
Files 3
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

05 May 2026 02:48PM UTC coverage: 94.156% (+0.04%) from 94.118%
25383586187

push

github

cjennings
feat: add wttrin-display-options for wttr.in flag customization (closes #3)

wttr.in accepts single-character flags appended to the URL that control what the report looks like — no Follow line (F), narrow output (n), quiet mode (q), forecast horizon (0/1/2), console-glyph mode (d), and so on. Until now wttrin always used the same default report shape with no way to opt into these.

Added a `wttrin-display-options` defcustom that takes a string of concatenated flags, e.g. "0Fq" for current weather only with no Follow line and no header. The flags get appended to every request via `wttrin--build-url`. The defcustom defaults to nil so existing users see no change.

I excluded `A` and `T` from the recommended set in the docstring since wttrin needs ANSI output for the xterm-color rendering to produce the colored glyphs. The user could still pass them, but the docstring nudges them away.

Tests cover the normal cases (single, multi-flag, with and without unit system), the boundaries (nil and empty string both leave the URL unchanged from baseline, single character works), and a sanity check that the new flags slot in after the always-on `A`. Existing build-url tests stay green because they don't bind the new variable, and the default is nil.

Also added `.claude/` to .gitignore — the scheduled-tasks lockfile from local wakeup scheduling shouldn't be tracked.

1 of 1 new or added line in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

435 of 462 relevant lines covered (94.16%)

13.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
92.76
0.06% wttrin.el
Jobs
ID Job ID Ran Files Coverage
1 25383586187.1 05 May 2026 02:49PM UTC 3
94.16
GitHub Action Run
Source Files on build 25383586187
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25383586187
  • ec00dbe1 on github
  • Prev Build on main (#25382995927)
  • Next Build on main (#26272814128)
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