[go: nahoru, domu]

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

[WIP] Truncate notification messages in more places #1342

Open
wants to merge 3 commits into
base: latest
Choose a base branch
from

Conversation

ctb
Copy link
Contributor
@ctb ctb commented Feb 20, 2021

Fixes #1341

Checklist

  • Is it mergeable?
  • make test Did it pass the tests?
  • make coverage Is the new code covered?
  • Did it change the command-line interface? Only additions are allowed
    without a major version increment. Changing file formats also requires a
    major version number increment.
  • Was a spellchecker run on the source code and documentation after
    changes were made?

@codecov
Copy link
codecov bot commented Feb 20, 2021

Codecov Report

Merging #1342 (d3ed682) into latest (fb1f0f4) will decrease coverage by 62.97%.
The diff coverage is 11.11%.

@@             Coverage Diff             @@
##           latest    #1342       +/-   ##
===========================================
- Coverage   84.66%   21.69%   -62.98%     
===========================================
  Files         131       99       -32     
  Lines       15512    10908     -4604     
  Branches     2210     2136       -74     
===========================================
- Hits        13134     2367    -10767     
- Misses       2085     8451     +6366     
+ Partials      293       90      -203     
Flag Coverage Δ
python 21.69% <11.11%> (-70.35%) ⬇️
rust ?

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

Impacted Files Coverage Δ
src/sourmash/logging.py 17.94% <11.11%> (-10.76%) ⬇️
src/sourmash/__main__.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/np_utils.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/tax/grep.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/tax/prepare.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/tax/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/tax/annotate.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/sketch/protein.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/sketch/fromfile.py 0.00% <0.00%> (-100.00%) ⬇️
src/sourmash/cli/storage/convert.py 0.00% <0.00%> (-100.00%) ⬇️
... and 118 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ctb
Copy link
Contributor Author
ctb commented Feb 22, 2021

idea to discover potential problems: change notify to emit a warning where output > 80, then use -Werror to fail such things.

@ctb
Copy link
Contributor Author
ctb commented Feb 22, 2021

separately, maybe add logging functionality that logs the notification messages at full length to ...somewhere.

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.

clean up the output of sourmash sketch for long file names
1 participant