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

Ouranosinc / xclim / 13461241271
92%

Build:
DEFAULT BRANCH: main
Ran 21 Feb 2025 10:10PM UTC
Jobs 7
Files 72
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

21 Feb 2025 04:41PM UTC coverage: 89.97%. First build
13461241271

push

github

web-flow
Adopt ruff format (#2083)

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

* Enables the `ruff` auto-formatter:
    * The maximum line-length is now 120 characters.
    * Docstring formatting is now enabled.
    * Line endings in files now must be Unix-compatible (`LF`).
* The `blackdoc` pre-commit hook now only examines `.rst` and `.md`
files.

### Does this PR introduce a breaking change?

Depends on your definition. The code styling now uses `ruff` exclusively
and is no longer fully conformant with `black` formatting.

### Other information:

`ruff` has a different opinion on [parentheses for long-nested
expressions](https://docs.astral.sh/ruff/formatter/black/#parenthesizing-long-nested-expressions)
compared to `black`, hence the significant changes.

325 of 390 new or added lines in 35 files covered. (83.33%)

9616 of 10688 relevant lines covered (89.97%)

6.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.45
src/xclim/cli.py
1
96.3
src/xclim/core/bootstrapping.py
1
97.57
src/xclim/core/dataflags.py
1
97.68
src/xclim/core/formatting.py
1
92.23
src/xclim/core/locales.py
1
74.19
src/xclim/ensembles/_reduce.py
1
97.95
src/xclim/indices/fire/_cffwis.py
1
88.71
src/xclim/testing/helpers.py
2
91.95
src/xclim/core/missing.py
2
87.95
src/xclim/core/units.py
2
87.97
src/xclim/core/utils.py
2
82.91
src/xclim/ensembles/_partitioning.py
2
90.96
src/xclim/indices/generic.py
3
90.08
src/xclim/ensembles/_base.py
3
94.0
src/xclim/indices/_synoptic.py
3
90.62
src/xclim/indices/run_length.py
3
92.39
src/xclim/indices/stats.py
3
76.23
src/xclim/testing/utils.py
4
92.26
src/xclim/ensembles/_robustness.py
4
88.79
src/xclim/indices/_agro.py
4
93.48
src/xclim/indices/_anuclim.py
4
93.0
src/xclim/indices/_conversion.py
4
18.82
src/xclim/testing/diagnostics.py
6
92.36
src/xclim/core/calendar.py
6
75.77
src/xclim/indices/helpers.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12-ubuntu-latest-standard - 13461241271.1 21 Feb 2025 10:15PM UTC 72
82.75
GitHub Action Run
2 run-3.12-windows-latest-py312-coverage-prefetch - 13461241271.2 21 Feb 2025 10:15PM UTC 72
82.18
GitHub Action Run
3 run-3.11-macos-latest-py311-coverage-extras-lmoments - 13461241271.3 21 Feb 2025 10:15PM UTC 72
88.14
GitHub Action Run
4 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 13461241271.4 21 Feb 2025 10:15PM UTC 72
84.22
GitHub Action Run
5 run-3.11-ubuntu-latest-preliminary - 13461241271.5 21 Feb 2025 10:15PM UTC 72
84.35
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 13461241271.6 21 Feb 2025 10:13PM UTC 71
88.15
GitHub Action Run
7 run-3.11-ubuntu-latest-standard - 13461241271.7 21 Feb 2025 10:15PM UTC 72
84.35
GitHub Action Run
Source Files on build 13461241271
  • Tree
  • List 72
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0b7afc8 on github
  • Prev Build on main (#13460578710)
  • Next Build on main (#13500646114)
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

© 2025 Coveralls, Inc