Skip to content

Bio.Emboss - black and triple quote indentation - #2470

Merged
peterjc merged 3 commits into
biopython:masterfrom
peterjc:black_emboss
Jan 7, 2020
Merged

peterjc merged 3 commits into
biopython:masterfrom
peterjc:black_emboss

Conversation

@peterjc

@peterjc peterjc commented Dec 30, 2019

Copy link
Copy Markdown
Member

This pull request addresses in part issues #2008 and #2369.

  • 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

peterjc commented Dec 30, 2019

Copy link
Copy Markdown
Member Author

Doctests caught my first mistake, removed a still current command line parameter (as part of removing the 10 year old pre-EMBOSS 6.1.0 aliases).

@codecov

codecov Bot commented Dec 30, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #2470 into master will not change coverage.
The diff coverage is 66.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2470   +/-   ##
=======================================
  Coverage   84.78%   84.78%           
=======================================
  Files         322      322           
  Lines       52455    52455           
=======================================
  Hits        44472    44472           
  Misses       7983     7983
Impacted Files Coverage Δ
Bio/Emboss/Primer3.py 97% <100%> (ø) ⬆️
Bio/Emboss/PrimerSearch.py 100% <100%> (ø) ⬆️
Bio/Emboss/Applications.py 62.3% <33.33%> (ø) ⬆️

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 303e968...94d9cd3. Read the comment docs.

black and others added 3 commits January 6, 2020 10:52
EMBOSS 6.1.0 was released over ten years ago
(15th July 2009), so there is little reason
to preserve the long obsolete command line
argument variants.

Also, this similified fixing the triple-quoted
string indentation - see biopython#2369.
@peterjc peterjc mentioned this pull request Jan 6, 2020
3 tasks done
@peterjc

peterjc commented Jan 6, 2020 •

Copy link
Copy Markdown
Member Author

@svalqui could you comment/review this pull request?

(Just rebased for a minor merge conflict)

@svalqui

svalqui commented Jan 7, 2020

Copy link
Copy Markdown
Contributor

This is fine, the obsolete options are gone. you should merge it.

@svalqui

svalqui commented Jan 7, 2020

Copy link
Copy Markdown
Contributor

black, version 19.03b? I have updated to 19.10b0 ; I hope there is no much difference.

@peterjc

peterjc commented Jan 7, 2020

Copy link
Copy Markdown
Member Author

Black 19.10b0 added a new dependency which is problematic as the author only provides wheels for Windows, and on the machine I was working on I didn't have the build dependencies available. So I used the previous release, black 19.03b which is almost the same in output. I understand the next release of black will drop this new dependency.

@peterjc
peterjc merged commit 4241729 into biopython:master Jan 7, 2020
@peterjc
peterjc deleted the black_emboss branch January 7, 2020 12:04
@peterjc

peterjc commented Jan 7, 2020

Copy link
Copy Markdown
Member Author

Merged, thank you for looking at this.

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