-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trivial interpreters py touchups and test coverage improvements #708
trivial interpreters py touchups and test coverage improvements #708
Conversation
6ebd3e9
to
ef7ddfa
Compare
Codecov Report
@@ Coverage Diff @@
## master #708 +/- ##
==========================================
+ Coverage 93.95% 94.53% +0.57%
==========================================
Files 11 11
Lines 2416 2414 -2
==========================================
+ Hits 2270 2282 +12
+ Misses 146 132 -14
Continue to review full report at Codecov.
|
ef7ddfa
to
5d7e3f3
Compare
hi, the lint fix failed 👍 |
doh... I hate that 'reorder imports' failure... wish it would tell me what it wants them to be reordered to... Could it be updated to print out the order it wants in its error output? I really have to get fix-lint to run on my machine... |
@asottile I feel the same as @jurko-gospodnetic the |
In the process touched up the `sitepackagesdir()` implementation to make it easier to test.
5d7e3f3
to
b9dd974
Compare
Ok, somehow hacked together |
The brevity of the error messages is intentional. The general guidance is : if it gets automatically fixed there's no need to spam a bunch of text, the filename is sufficient. But as it's apparent that you're not running them locally, I'm adding this so you can at least see the diff : #710 As for the imports: it's impossible to agree on style when there are this many maintainers so we opted for a style that eliminates merge conflicts. If you're unhappy with this let's create an issue and discuss the trade offs of removing the import ordering entirely -- though I imagine this will just make things worse ;) |
@asottile it does eliminate the probability of merge conflict, but increases the number of lines 👍 I'm not for removing it, just tweaking it. I would prefer to have something that works out of box, e.g. @jurko-gospodnetic struggle to get the fix-lint working is definitely what I was afraid of. |
Thanks for the contribution @jurko-gospodnetic 👍 |
Trivial interpreters py touchups and test coverage improvements.