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

Ouranosinc / xclim / 12261890650 / 5
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 10 Dec 2024 06:08PM UTC
Files 72
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

10 Dec 2024 05:55PM UTC coverage: 87.882% (+0.4%) from 87.52%
12261890650.5

push

github

web-flow
Employ a `src`-based layout for code base (#1971)

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

* Adapts the code base to use a `src`-based layout (in lieu of a flat
code base layout)
* Added a stricter `yamllint` configuration (no changes made to existing
YAML files)
* Pins `pint` to >=0.24.4 in order to support Python3.13 (and evade
failures from `flexparser>=0.4`).

### Does this PR introduce a breaking change?

Yes. The code base has been modified such that existing interactive
(`--editable`) installations will need to be re-installed.

This change prevents developers from accidentally running tests or
importing `xclim` from the root directory. That's essentially the major
gain.

Otherwise, we can say that this brings `xclim` closer in line with the
other `Ouranosinc/cookiecutter-pypackage` template-based projects.

### Other information:


https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-structure.html#the-src-layout-and-testing

9239 of 10513 relevant lines covered (87.88%)

1.76 hits per line

Source Files on job run-{{ matrix.python-version }}-conda - 12261890650.5
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12261890650
  • 48a608ea on github
  • Prev Job for on main (#12260894328.5)
  • Next Job for on main (#12263007729.7)
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