Skip to content

Black on Bio.codonalign - #2467

Merged
peterjc merged 2 commits into
biopython:masterfrom
peterjc:black_codonalign
Jan 12, 2020
Merged

peterjc merged 2 commits into
biopython:masterfrom
peterjc:black_codonalign

Conversation

@peterjc

@peterjc peterjc commented Dec 29, 2019

Copy link
Copy Markdown
Member

This pull request addresses in part issue #2008.

  • I hereby agree to dual licence this and any previous contributions under both
    the Biopython License Agreement AND the BSD 3-Clause License.

  • I have read the CONTRIBUTING.rst file, have run flake8 locally, and
    understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
    tests and style checks pass with these changes.

  • I have added my name to the alphabetical contributors listings in the files
    NEWS.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

@codecov

codecov Bot commented Dec 29, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #2467 into master will increase coverage by <.01%.
The diff coverage is 59.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2467      +/-   ##
==========================================
+ Coverage   84.78%   84.78%   +<.01%     
==========================================
  Files         320      320              
  Lines       52344    52344              
==========================================
+ Hits        44379    44380       +1     
+ Misses       7965     7964       -1
Impacted Files Coverage Δ
Bio/codonalign/chisq.py 67.24% <100%> (ø) ⬆️
Bio/codonalign/__init__.py 73.37% <40%> (ø) ⬆️
Bio/codonalign/codonalphabet.py 96.87% <50%> (ø) ⬆️
Bio/codonalign/codonalignment.py 86.98% <54.16%> (ø) ⬆️
Bio/codonalign/codonseq.py 87.51% <74.25%> (ø) ⬆️
Bio/motifs/matrix.py 82.24% <0%> (+0.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cd81c0...c10352a. Read the comment docs.

@peterjc

peterjc commented Jan 6, 2020

Copy link
Copy Markdown
Member Author

@zruan would you be able to look at this formatting change to Bio.codonalign?

@peterjc peterjc added the Style label Jan 7, 2020
@peterjc

peterjc commented Jan 10, 2020

Copy link
Copy Markdown
Member Author

Updated using black 19.10b, and fixing a few more line breaks by hand.

@zruan

zruan commented Jan 12, 2020

Copy link
Copy Markdown
Contributor

Hi Peter,

These changes look fine to me. I'm wondering why the first check is unsuccessful.

Thanks,
Zheng

@peterjc

peterjc commented Jan 12, 2020

Copy link
Copy Markdown
Member Author

Thank you!

Codecov checks how much of the code in the diff was covered by unit tests - ideally this would be 75% but we don't insist on it. If we could change how this appeared on GitHub, I would.

@peterjc
peterjc merged commit 6219d17 into biopython:master Jan 12, 2020
@peterjc
peterjc deleted the black_codonalign branch January 12, 2020 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants