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

MITLibraries / transmogrifier / 5588821537
99%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2023 02:35PM UTC
Jobs 1
Files 14
Run time 1s
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

pending completion
5588821537

push

github

web-flow
Update type hints in helpers.write_timdex_records_to_json (#96)

* Update type hints in helpers.write_timdex_records_to_json

Why these changes are being introduced:
* After some refactoring in 07/2022 that added an iterator pattern to Transformer, it looks as though downstream type hints were not updated.
* While this did not affect runtime, it made reading the code somewhat confusing to someone new to the codebase.

How this addresses that need:
* Update the `records` input argument of `helpers.write_timdex_records_to_json()` from `Iterator[TimdexRecord]` to `Transformer`
* rename `records` to `transformer_instance`, matching variable names from calling `cli.py`
* Add explicit `TimdexRecord` type hint for result of `next(transformer_instance)`

Side effects of this change:
* None

Relevant ticket(s):
* None

Additional maintenance:
* Updated syntax for isort command in Makefile
  * Based on new results from isort, update import order in helpers.py
* update dependencies and revert click workaround
  * In PR https://github.com/MITLibraries/transmogrifier/pull/91, while updating dependencies, `click` and `mypy` had a conflict.
  * A temporary workaround was put into place that reordered the `click` decorators, but this deviated from other projects.
  * Now that `click` has updated again, that workaround is no longer needed.
  * Resolves #92

5 of 5 new or added lines in 2 files covered. (100.0%)

1023 of 1026 relevant lines covered (99.71%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5588821537.1 18 Jul 2023 02:35PM UTC 0
99.71
GitHub Action Run
Source Files on build 5588821537
Detailed source file information is not available for this build.
  • Back to Repo
  • 2f7fdaaf on github
  • Prev Build on main (#5524789584)
  • Next Build on main (#5694700357)
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