Skip to content

flake8 D200 one-line docstrings in Tests - #2017

Merged
peterjc merged 4 commits into
biopython:masterfrom
peterjc:d200
Apr 19, 2019
Merged

peterjc merged 4 commits into
biopython:masterfrom
peterjc:d200

Conversation

@peterjc

@peterjc peterjc commented Apr 18, 2019

Copy link
Copy Markdown
Member

Like #2016, this pull request is somewhat related to issue #883 / #2014.

  • 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 and understand that AppVeyor and
    TravisCI will be used to confirm the Biopython unit tests and flake8 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 requested review from MarkusPiotrowski and removed request for JoaoRodrigues, etal, mdehoon and tiagoantao April 18, 2019 16:38
@peterjc

peterjc commented Apr 18, 2019

Copy link
Copy Markdown
Member Author

Expanded to cover D204 1 blank line required after class docstring as well as D200 on the Tests/ folder (already enforced elsewhere in Biopython)

@codecov

codecov Bot commented Apr 18, 2019

Copy link
Copy Markdown

Codecov Report

Merging #2017 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2017   +/-   ##
======================================
  Coverage    85.1%   85.1%           
======================================
  Files         314     314           
  Lines       50302   50302           
======================================
  Hits        42809   42809           
  Misses       7493    7493

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 4cf0c19...5634a36. Read the comment docs.

@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.

Looks good to me. First I wondered about some cases of 2 blank lines between methods, until I realized that these were module functions.

@peterjc

peterjc commented Apr 19, 2019

Copy link
Copy Markdown
Member Author

Thanks both for looking at this, merging...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants