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

Ouranosinc / xclim / 14972283644 / 3
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 12 May 2025 12:40PM UTC
Files 59
Run time 3s
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

12 May 2025 12:31PM UTC coverage: 88.631% (+0.01%) from 88.618%
14972283644.3

push

github

web-flow
Use Literals in operator `op` arguments (#2168)

### What kind of change does this PR introduce?

* Changes the call signatures for `op` arguments to use the `Literal`
type when providing a limited set of acceptable strings.
* Updates the `infer_kind_from_input_parameter` to accept a `Literal`
sequence of string options.

### Does this PR introduce a breaking change?

No.

### Other information:

This change will make it so that coding behaviour in IDEs will show
warnings if a string being supplied as an argument is not within the
list of acceptable options. This is not just an aesthetic/behavioural
change but can also help with `mypy` type checking.

7242 of 8171 relevant lines covered (88.63%)

0.89 hits per line

Source Files on job run-3.11-ubuntu-latest-preliminary - 14972283644.3
  • Tree
  • List 59
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14972283644
  • dbef3a0e on github
  • Prev Job for on main (#14888847601.6)
  • Next Job for on main (#14973430892.4)
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