Repository navigation
flake8: Fix and enforce E241 on Tests/ - #2029
Merged
Merged
Conversation
autopep8 -i --select E241 *.py
In commit e6101e7 I had left E241 listed with the defaut ignores... oops.
Codecov Report
@@ Coverage Diff @@
## master #2029 +/- ##
=======================================
Coverage 85.09% 85.09%
=======================================
Files 314 314
Lines 50310 50310
=======================================
Hits 42810 42810
Misses 7500 7500Continue to review full report at Codecov.
|
mdehoon
approved these changes
Apr 23, 2019
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
blackwould 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.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)