Repository navigation
CLN: E242 space after tab, enforce all passing rules - #4924
Conversation
|
@jbrockmendel making sure no new ones slip in. |
b7033d0 to
3210d43
Compare
|
+1 |
| F831, | ||
| # F831: duplicate argument name in function definition | ||
| F901 | ||
| # F901: raise NotImplemented should be raise NotImplementedError |
There was a problem hiding this comment.
we're currently checking for this as E901. Are there two slightly different versions of this or is one of these a typo?
There was a problem hiding this comment.
Then I guess I must have made a typo way back when. Might be worth updating the message attached to E901 up at the top
|
E901 is A syntax error.
https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
…On Sat, Aug 18, 2018, 03:26 jbrockmendel ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In setup.cfg
<#4924 (comment)>
:
> + F704,
+ # F704: a yield or yield from statement outside of a function
+ F705,
+ # F705: a return statement with arguments inside a generator
+ F706,
+ # F706: a return statement outside of a function/method
+ F707,
+ # F707: an except: block as not the last exception handler
+ F721,
+ # F721: doctest syntax error
+ F722,
+ # F722: syntax error in forward type annotation
+ F831,
+ # F831: duplicate argument name in function definition
+ F901
+ # F901: raise NotImplemented should be raise NotImplementedError
we're currently checking for this as E901. Are there two slightly
different versions of this or is one of these a typo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4924 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFU5RePo9J0B8MQ_Rfp3p_nTliezTRw1ks5uR3tWgaJpZM4WBUHo>
.
|
3210d43 to
64937e0
Compare
|
The Travis error here also showed up in #4936, not sure yet what it’s all about. |
64937e0 to
6e94adb
Compare
Codecov Report
@@ Coverage Diff @@
## master #4924 +/- ##
=======================================
Coverage 81.38% 81.38%
=======================================
Files 581 581
Lines 90194 90194
Branches 10077 10077
=======================================
Hits 73406 73406
Misses 14498 14498
Partials 2290 2290Continue to review full report at Codecov.
|
6e94adb to
769dddb
Compare
Tiny white space only changes for E242 Enfore all other flake8 rules that are already passing
769dddb to
66e58cf
Compare
|
How did you find the list of currently-passing codes? I’d like to check periodically if any new ones can be added to this list. |
|
@josef-pkt this should be a nice dose of headache-prevention |
|
I just made a list of the violations and took the diff with the warnings
that pyflake or flake8 produces.
…On Mon, Aug 27, 2018, 16:36 jbrockmendel ***@***.***> wrote:
@josef-pkt <https://github.com/josef-pkt> this should be a nice dose of
headache-prevention
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4924 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFU5RftcCB1S7WJn8SkMaeXZEFDRt500ks5uVBINgaJpZM4WBUHo>
.
|
Tiny white space only changes for E242
Enfore all other flake8 rules that are already passing