-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Incorrect horizontal position of fixme warnings (W0511) #4218
Comments
Thanks for the report. We added a column check to the functional test recently so it's probably just making sure that the proper number is used in fixme's functional tests and changing the naive value in the checker. |
I may be misunderstanding your comment, but just to be on the safe this: this is a bug in a real-life application, not just a failing test. |
Yes I was just talking about the way we can simply modify the functional test text and the naive value in the checker because of the amazing #4013 instead of having to create a new test 😛 |
Hello! I am a new contributor and I would like to work on this issue. I notice that for some reason the column index of the output depends on the position of |
Hello @ksaketou thank you for working on this, much appreciated ! I assigned you to the issue. The fix need to be done on the checker itself but the column will change inside the test to reflect that :) You will be able to automatically update the expected output in the functional tests if the output is not the same anymore ( |
Great! I am working on it. I'll let you know. :) |
Hello, I have a question. I made some changes on the checker and I successfully tested the code with |
When you launch |
Hello, sorry for the late reply. I see what you mean, thank you. Also, I use Python 3.8.1. I linked a pull request to this issue, please let me know if I need to make any changes. |
Thanks everyone! |
The horizontal positions of the following four W0511 warning are all
2
:bug.py
:pylint bug.py
:This is how that is rendered by VS Code:
Shouldn't the position be the start of the comment (or the start of
TODO
)?The text was updated successfully, but these errors were encountered: