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

Ouranosinc / miranda / 17135863835 / 5
18%
main: 18%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2025 06:42PM UTC
Files 68
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

21 Aug 2025 06:38PM UTC coverage: 18.554% (-0.2%) from 18.756%
17135863835.5

push

github

web-flow
No longer initialize logging within library (#264)

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

* Adjusts logging so that submodules do not initialize the logging
configuration.
* Sets all modules using logging to log relative to the `miranda`
library (never `root`).
* Adds a missing function needed for a submodule that was removed in an
earlier PR.

### Does this PR introduce a breaking change?

Yes. If you rely on the logging messages, you need to initialize the
logger in your scripts as follows:
```python
import logging.config

from miranda.scripting import LOGGING_CONFIG

logging.config.dictConfig(LOGGING_CONFIG)
```

There might be a much easier way to get this up and running, but with
these changes, we no longer need to worry about submodules setting this
accidentally.

### Other information:

There was a missing function (`group_by_length`) that was entirely
missing. This wasn't raising errors, as the module that relied on it
wasn't being loaded on import.

1188 of 6403 relevant lines covered (18.55%)

0.19 hits per line

Source Files on job run-3.12 - 17135863835.5
  • Tree
  • List 68
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17135863835
  • 5908d1e5 on github
  • Prev Job for on main (#17134902652.1)
  • Next Job for on main (#17249301051.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