Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add return types to loader.ts #1648

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

samayer12
Copy link
Collaborator

Description

In support of #1364, this PR adds typing to previously-untyped functions.

End to End Test:
(See Pepr Excellent Examples)

Related Issue

Fixes #

Relates to #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.40%. Comparing base (b1b6709) to head (cc8d21f).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1648   +/-   ##
=======================================
  Coverage   81.40%   81.40%           
=======================================
  Files          43       43           
  Lines        1979     1979           
  Branches      411      430   +19     
=======================================
  Hits         1611     1611           
+ Misses        366      340   -26     
- Partials        2       28   +26     
Files with missing lines Coverage Δ
src/fixtures/loader.ts 85.71% <100.00%> (ø)

... and 7 files with indirect coverage changes

@samayer12 samayer12 marked this pull request as ready for review January 10, 2025 21:46
@samayer12 samayer12 requested a review from a team as a code owner January 10, 2025 21:46
Copy link
Collaborator

@btlghrants btlghrants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty simple. LG.

@btlghrants btlghrants added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit d7b679b Jan 14, 2025
48 checks passed
@btlghrants btlghrants deleted the hotfix-loader-return-types branch January 14, 2025 15:36
tamirazrab pushed a commit to tamirazrab/pepr that referenced this pull request Jan 17, 2025
## Description

In support of defenseunicorns#1364, this PR adds typing to previously-untyped
functions.

End to End Test:  <!-- if applicable -->  
(See [Pepr Excellent
Examples](https://github.com/defenseunicorns/pepr-excellent-examples))

## Related Issue

Fixes #
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [ ] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [ ] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants