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: Fix helper text in label analysis #315

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

giovanni-guidini
Copy link
Contributor

Since the previous change to label analysis the help text was outdated.
These changes fix it to be more accurate.

Also removing the test for the help text because it's more annoying than
it's helpful. It doesn't really test anything, because the formatting
is done by click

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #315 (307ab57) into main (a9d2613) will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
+ Coverage   95.39%   95.53%   +0.13%     
==========================================
  Files          78       79       +1     
  Lines        2673     2753      +80     
==========================================
+ Hits         2550     2630      +80     
  Misses        123      123              
Flag Coverage Δ
python3.10 95.64% <ø> (ø)
python3.11 95.64% <ø> (ø)
python3.8 95.64% <ø> (ø)
python3.9 95.64% <ø> (ø)
smart-labels 95.52% <ø> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
codecov_cli/commands/labelanalysis.py 95.48% <ø> (ø)

... and 1 file with indirect coverage changes

Since the previous change to label analysis the help text was outdated.
These changes fix it to be more accurate.

Also removing the test for the help text because it's more annoying than
it's helpful. It doesn't really _test_ anything, because the formatting
is done by click
@giovanni-guidini giovanni-guidini merged commit 5ed8261 into main Nov 8, 2023
@giovanni-guidini giovanni-guidini deleted the gio/fix-ats-helper-text branch November 8, 2023 13:04
scott-codecov added a commit that referenced this pull request Nov 15, 2023
* heads/main:
  simplify the ternary operator
  amend branch names to be forked-slug:branch-name
  we need the pr number for the PR API request to know if the command runs in a fork PR
  chore: Fix helper text in label analysis (#315)
  taking decoding slug out of is_fork_pr, cause it doesn't feel right to be there
  adding tests
  check if the PR is a fork PR
  chore: remove smart-open (#326)
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.

3 participants