Skip to content

Minor style fixes for GenomeDiagram - #2127

Merged
peterjc merged 2 commits into
biopython:masterfrom
peterjc:gd_comments
Jun 13, 2019
Merged

peterjc merged 2 commits into
biopython:masterfrom
peterjc:gd_comments

Conversation

@peterjc

@peterjc peterjc commented Jun 13, 2019

Copy link
Copy Markdown
Member

This extracts some of the improvements from #2079 which would apply black formatting to this module. Also, it should mean applying black now wouldn't need much human adjustment of the comment placement.

  • 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.)

peterjc added 2 commits June 13, 2019 10:04
Back-porting changes I made to multiline comments
after running black on GenomeDiagram on another
branch.

These edits are mostly putting multi-line comments
as part of multiple lines of code into their own line.
@peterjc peterjc added the Style label Jun 13, 2019
@codecov

codecov Bot commented Jun 13, 2019

Copy link
Copy Markdown

Codecov Report

Merging #2127 into master will increase coverage by 1.55%.
The diff coverage is 95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2127      +/-   ##
==========================================
+ Coverage   83.27%   84.82%   +1.55%     
==========================================
  Files         317      318       +1     
  Lines       50955    51008      +53     
==========================================
+ Hits        42431    43268     +837     
+ Misses       8524     7740     -784
Impacted Files Coverage Δ
Bio/Graphics/GenomeDiagram/_GraphSet.py 60% <0%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_AbstractDrawer.py 86.04% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_LinearDrawer.py 90.13% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Graph.py 61.03% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Diagram.py 96.72% <100%> (ø) ⬆️
Bio/PDB/mmtf/DefaultParser.py 100% <0%> (ø)
Bio/SeqIO/InsdcIO.py 93.03% <0%> (+0.15%) ⬆️
Bio/Phylo/PhyloXML.py 81.39% <0%> (+0.19%) ⬆️
Bio/SearchIO/_legacy/NCBIStandalone.py 90.36% <0%> (+0.24%) ⬆️
Bio/Align/__init__.py 87.4% <0%> (+0.26%) ⬆️
... and 45 more

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 264c689...ff33b07. Read the comment docs.

@peterjc
peterjc merged commit f755bc8 into biopython:master Jun 13, 2019
@peterjc
peterjc deleted the gd_comments branch June 13, 2019 10:53
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.

1 participant