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
Remove inappropriate lint messages #90
Conversation
Codecov Report
@@ Coverage Diff @@
## master #90 +/- ##
==========================================
- Coverage 85.1% 85.06% -0.05%
==========================================
Files 38 38
Lines 2216 2209 -7
==========================================
- Hits 1886 1879 -7
Misses 330 330
Continue to review full report at Codecov.
|
Do you think we should add flake8 (or similar) to the travis? It can be very annoying to have flake8 issues reported on the same footing as test failures, so maybe we could try the new github actions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @CasperWA I think it looks nice. Please feel free to ignore my comments anytime (they are mostly about coding style more than functionality). There is one thing: I think the TransformerError
never will be raised so it is misleading. The lark-parser
runs in its own try block and it will raise its own error even before calling these functions. The only scenario when it could happen if you modify the grammar but in that case, you must update the Transformer
as well...
I was indeed considering adding the pre-commit run as a test, don't know if this will be enough? |
I didn't know this, so I have removed In order to combine both programming styles (using Concerning the non-existing |
👍 for GitHub Actions. We are currently starting to use it in our other repos at EPFL, it seems really nice. Unfortunately, I have not been part of the people setting it up. If you have experience with GitHub Actions, I would push hard for this :) |
I'll have a play around with this later today if I get time, does it make sense to add it in this PR? |
I wouldn't say it is. But we can make it, if you want. Then the title should also be changed though. |
Roger that. I have no strong feelings about the style in this PR provided it now pleases the linter, so will accept and leave it for you to decide whether to wait for @fekad! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect for me
Also, update mongo transformers, satisfying linter - no content or behaviour changes, other than introducing some raising, where appropriate.