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

Ouranosinc / xclim / 14972283644
92%

Build:
DEFAULT BRANCH: main
Ran 12 May 2025 12:36PM UTC
Jobs 8
Files 59
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

12 May 2025 12:31PM UTC coverage: 92.375% (+0.008%) from 92.367%
14972283644

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.

27 of 27 new or added lines in 10 files covered. (100.0%)

7548 of 8171 relevant lines covered (92.38%)

8.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.10-ubuntu-latest-standard - 14972283644.1 12 May 2025 12:40PM UTC 59
88.86
GitHub Action Run
2 run-3.12-ubuntu-latest-standard - 14972283644.2 12 May 2025 12:40PM UTC 59
88.86
GitHub Action Run
3 run-3.11-ubuntu-latest-preliminary - 14972283644.3 12 May 2025 12:40PM UTC 59
88.63
GitHub Action Run
4 run-3.11-ubuntu-latest-standard - 14972283644.4 12 May 2025 12:40PM UTC 59
88.94
GitHub Action Run
5 run-3.12-windows-latest-py312-coverage-prefetch - 14972283644.5 12 May 2025 12:40PM UTC 59
88.36
GitHub Action Run
6 run-3.11-ubuntu-latest-py311-coverage-extras-sbck-offline-prefetch - 14972283644.6 12 May 2025 12:40PM UTC 59
88.8
GitHub Action Run
7 run-{{ matrix.python-version }}-conda - 14972283644.7 12 May 2025 12:39PM UTC 58
92.24
GitHub Action Run
8 run-3.11-macos-latest-py311-coverage-extras-lmoments - 14972283644.8 12 May 2025 12:40PM UTC 59
92.19
GitHub Action Run
Source Files on build 14972283644
  • Tree
  • List 59
  • Changed 15
  • Source Changed 15
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dbef3a0e on github
  • Prev Build on main (#14888847601)
  • Next Build on main (#14973430892)
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