Skip to content

flake8: Fix and enforce E241 on Tests/ - #2029

Merged
peterjc merged 3 commits into
biopython:masterfrom
peterjc:e241
Apr 23, 2019
Merged

peterjc merged 3 commits into
biopython:masterfrom
peterjc:e241

Conversation

@peterjc

@peterjc peterjc commented Apr 22, 2019

Copy link
Copy Markdown
Member

This is a cosmetic change aimed at having a single set of flake8 settings for the entire project, see issue #883 / #2014.

Most of the E241 style 'violations' here were deliberate extra spaces on positive numbers in order to visually align with negative numbers. However, this is also one of the changes black would make too - see 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 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 added 3 commits April 22, 2019 16:33
autopep8 -i --select E241 *.py
In commit e6101e7 I had
left E241 listed with the defaut ignores... oops.
@codecov

codecov Bot commented Apr 22, 2019

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2029   +/-   ##
=======================================
  Coverage   85.09%   85.09%           
=======================================
  Files         314      314           
  Lines       50310    50310           
=======================================
  Hits        42810    42810           
  Misses       7500     7500

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 793e0a6...b4a3159. Read the comment docs.

@peterjc
peterjc merged commit 8b1f0ea into biopython:master Apr 23, 2019
@peterjc
peterjc deleted the e241 branch April 23, 2019 09:36
@peterjc peterjc mentioned this pull request Jul 29, 2019
3 tasks done
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