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

roocs / clisops / 16154603223
87%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2025 09:24PM UTC
Jobs 7
Files 32
Run time 2min
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

08 Jul 2025 09:19PM UTC coverage: 86.432% (-0.7%) from 87.164%
16154603223

push

github

web-flow
Fix docstrings and add more static typing to call signatures (#439)

### What kind of change does this PR introduce?: <!--(Bug fix, feature,
docs update, etc.)-->

* Replaces `black` and `isort` and most checks done via `flake8` with
`ruff`
* All docstrings that were previously written using non-`numpydoc`
conventions have been translated.
* Call signatures have been added for many functions missing them.
* `pre-commit` checks now include `ruff`, as well as several other new
hooks, including test artifact checking and YAML linting
* Coding conventions are now set for Python3.10+
* Added an `engine` argument for `Grid.ds.to_netcdf()`.

### Does this PR introduce a breaking change?: <!--(Has there been an
API change? New dependencies?)-->

Yes. Almost all docstrings have been modified, and call signatures have
been changed in many places. Some small bugs have been dealt with. This
represents an enormous change and the documentation should benefit from
this.

`Grid.ds.to_netcdf()` now accepts an `engine` argument (default: `None`)
to allow passing a specific engine option. This is necessary in some
situations (malformed metadata in a Dataset is better handled by
NetCDF4).

### Other information: <!--(Relevant discussion threads? Outside
documentation pages?)-->

`ruff` has been developed to provide a comprehensive set of linting and
formatting tools based on existing projects in Python. The program is
built in `rust` and is extremely fast.

The docstrings were converted using AI (GitHub Copilot) and human
validation. Corrections were made manually as needed.

334 of 398 new or added lines in 28 files covered. (83.92%)

47 existing lines in 11 files now uncovered.

3096 of 3582 relevant lines covered (86.43%)

5.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.26
0.99% clisops/__init__.py
1
74.26
0.0% clisops/config.py
1
96.43
-0.04% clisops/core/average.py
1
93.41
0.07% clisops/parameter/_utils.py
1
95.12
-2.38% clisops/parameter/time_parameter.py
1
90.54
0.68% clisops/project_utils.py
1
85.48
0.24% clisops/utils/common.py
1
78.26
0.99% clisops/utils/file_utils.py
2
87.39
-0.11% clisops/ops/base_operation.py
2
93.25
-0.58% clisops/utils/output_utils.py
2
91.78
0.0% clisops/utils/time_utils.py
3
84.51
-1.6% clisops/ops/regrid.py
5
79.19
-0.14% clisops/utils/testing.py
10
88.19
-0.02% clisops/core/subset.py
14
78.83
-2.43% clisops/utils/dataset_utils.py
18
84.5
-1.31% clisops/core/regrid.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.26
0.0% clisops/config.py
1
88.19
-0.02% clisops/core/subset.py
1
78.26
0.99% clisops/__init__.py
1
87.39
-0.11% clisops/ops/base_operation.py
1
84.51
-1.6% clisops/ops/regrid.py
1
89.09
0.0% clisops/parameter/base_parameter.py
1
93.25
-0.58% clisops/utils/output_utils.py
2
90.54
0.68% clisops/project_utils.py
3
79.19
-0.14% clisops/utils/testing.py
15
84.5
-1.31% clisops/core/regrid.py
20
78.83
-2.43% clisops/utils/dataset_utils.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.11 - 16154603223.1 08 Jul 2025 09:26PM UTC 32
75.88
GitHub Action Run
2 run-Python3.12-conda - 16154603223.2 08 Jul 2025 09:26PM UTC 32
86.26
GitHub Action Run
3 run-Python3.11-conda - 16154603223.3 08 Jul 2025 09:25PM UTC 32
86.26
GitHub Action Run
4 run-Python3.10 - 16154603223.4 08 Jul 2025 09:26PM UTC 32
75.88
GitHub Action Run
5 run-Python3.10-conda - 16154603223.5 08 Jul 2025 09:25PM UTC 32
86.26
GitHub Action Run
6 run-Python3.13-conda - 16154603223.6 08 Jul 2025 09:26PM UTC 32
86.26
GitHub Action Run
7 run-Python3.12 - 16154603223.7 08 Jul 2025 09:26PM UTC 32
76.69
GitHub Action Run
Source Files on build 16154603223
  • Tree
  • List 32
  • Changed 32
  • Source Changed 32
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5166c8b4 on github
  • Prev Build on master (#16123338330)
  • Next Build on master (#16939016691)
  • Delete
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