Skip to content

Apply black to GenomeDiagram; update .flake8 &NEWS - #2251

Merged
MarkusPiotrowski merged 4 commits into
biopython:masterfrom
peterjc:black_gd2
Sep 11, 2019
Merged

MarkusPiotrowski merged 4 commits into
biopython:masterfrom
peterjc:black_gd2

Conversation

@peterjc

@peterjc peterjc commented Sep 2, 2019

Copy link
Copy Markdown
Member

This pull request addresses issue #2008, and in particular replaces older pull request #2079.

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

@MarkusPiotrowski MarkusPiotrowski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have a small comment for the .flake8 file.

Comment thread .flake8 Resolved
@codecov

codecov Bot commented Sep 3, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #2251 into master will not change coverage.
The diff coverage is 89.31%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2251   +/-   ##
=======================================
  Coverage   84.89%   84.89%           
=======================================
  Files         321      321           
  Lines       51958    51958           
=======================================
  Hits        44111    44111           
  Misses       7847     7847
Impacted Files Coverage Δ
Bio/Graphics/GenomeDiagram/_Feature.py 91.66% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Diagram.py 96.72% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_CrossLink.py 68.42% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/__init__.py 100% <100%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Colors.py 66.66% <33.33%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_FeatureSet.py 67.64% <53.84%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Graph.py 61.03% <76.92%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_Track.py 81.72% <85.71%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_CircularDrawer.py 88.95% <86.86%> (ø) ⬆️
Bio/Graphics/GenomeDiagram/_GraphSet.py 60% <88.88%> (ø) ⬆️
... and 2 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 959d052...2f736ff. Read the comment docs.

@peterjc

peterjc commented Sep 10, 2019

Copy link
Copy Markdown
Member Author

TravisCI is stuck... I will rebase this to refresh it.

@peterjc

peterjc commented Sep 10, 2019

Copy link
Copy Markdown
Member Author

While it would be nice to have Leighton's explicit review, he was happy with the earlier version on #2079 so that should be fine.

@MarkusPiotrowski

Copy link
Copy Markdown
Contributor

Travis CI still didn't make it.
You last commit had something like a comment or command: [ci skip]. Could this be related?

peterjc and others added 4 commits September 11, 2019 10:59
Workaround for open pycodestyle issue giving a false positive on
the whitespace changes from the formatting tool black, which we
are starting to adaopt for Biopython.
@peterjc

peterjc commented Sep 11, 2019

Copy link
Copy Markdown
Member Author

Ah - you're probably right Markus.

@MarkusPiotrowski
MarkusPiotrowski merged commit d4b782c into biopython:master Sep 11, 2019
@peterjc
peterjc deleted the black_gd2 branch September 11, 2019 12:13
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.

2 participants