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

feat: add set_tag method to Template #59

Merged
merged 2 commits into from
Oct 17, 2023
Merged

feat: add set_tag method to Template #59

merged 2 commits into from
Oct 17, 2023

Conversation

msto
Copy link
Contributor

@msto msto commented Oct 17, 2023

This is something I've implemented twice in client projects, so thought it'd be sensible to add directly to the library

@msto msto requested a review from tfenne October 17, 2023 13:34
Copy link
Member

@tfenne tfenne left a comment

Choose a reason for hiding this comment

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

Approved with suggestions.

fgpyo/sam/__init__.py Show resolved Hide resolved
fgpyo/sam/__init__.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (69c0cbb) 92.85% compared to head (475cbe0) 92.91%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   92.85%   92.91%   +0.05%     
==========================================
  Files          30       30              
  Lines        2996     3019      +23     
  Branches      552      559       +7     
==========================================
+ Hits         2782     2805      +23     
  Misses        143      143              
  Partials       71       71              
Files Coverage Δ
fgpyo/sam/__init__.py 87.42% <100.00%> (+0.14%) ⬆️
fgpyo/sam/tests/test_template_iterator.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@msto msto requested a review from nh13 October 17, 2023 15:56
Copy link
Member

@nh13 nh13 left a comment

Choose a reason for hiding this comment

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

one minor suggestion to say the tag!

fgpyo/sam/__init__.py Outdated Show resolved Hide resolved
fix: tag value types, two char tags, and tests

fix: report name of failing tag
@msto msto merged commit fe2114d into main Oct 17, 2023
5 checks passed
@msto msto deleted the MS_set_tag branch October 17, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants