Repository navigation
RNA alphabet for meme parsing / flake8 E741 - #1421
Merged
Merged
Conversation
Member
Author
|
TravisCI is failing due to new issue #1422 |
Codecov Report
@@ Coverage Diff @@
## master #1421 +/- ##
==========================================
+ Coverage 83.39% 84.77% +1.37%
==========================================
Files 319 320 +1
Lines 49000 49049 +49
==========================================
+ Hits 40864 41580 +716
+ Misses 8136 7469 -667
Continue to review full report at Codecov.
|
This fixes new error in flake v3.5.0 from pccodestyle 2.1.0, $ flake8 Scripts/ Scripts/xbbtools/nextorf.py:102:9: E741 ambiguous variable name 'l' Scripts/xbbtools/xbb_widget.py:214:9: E741 ambiguous variable name 'l' Rational is to avoid the characters 'l', 'O', or 'I' as variable names because in some fonts they are indistinguishable from the numerals one and zero. Closes biopython#1422
E741 ambiguous variable name 'O'
E741 ambiguous variable name 'l'
These were not strings, but lists of strings built from a line of the file. Goal is to next allow renaming l --> line to solve new flake8 warning: E741 ambiguous variable name 'l'
This is to solve new flake8 warning: E741 ambiguous variable name 'l'
This should resolve biopython#1422, flake8 v3.5.0 uses pycodestyle 2.1.0 which complains about lower case l etc due to scope for confusion with 1 etc.
Member
Author
|
@tiagoantao I've merged this, but just in case, could you double check I didn't break anything in |
This was referenced Oct 24, 2017
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.
Rebased version of #867, including acknowledgement of @zaidurrehman
Update Plus fixes for flake8 E741, see #1422