-
Notifications
You must be signed in to change notification settings - Fork 1
Trickybrain Creating the LineReader file #14
Conversation
Signed-off-by: Trickybrain <[email protected]>
…in/selfie-python-wip into Trickybrain-LineReader
The pyright errors here are saving you from a real problem:
Look at lines 7/10/21. Let me know if you'd like another hint. |
|
Signed-off-by: Trickybrain <[email protected]>
…in/selfie-python-wip into Trickybrain-LineReader
Signed-off-by: Trickybrain <[email protected]>
…in/selfie-python-wip into Trickybrain-LineReader
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.
Getting closer! The errors that pyright
is giving you in CI are all helpful.
You don't have to push to CI to find them, you can also run them locally with poetry run pyright
.
Signed-off-by: Trickybrain <[email protected]>
…in/selfie-python-wip into Trickybrain-LineReader
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.
This looks excellent! Two things it needs to be finished
- small nit about public/private
- it is missing the
def get_line_number(self) -> int:
method mentioned earlier. The later steps will be very difficult to debug without it. We can count the lines ourselves, we don't need Python's library implementation to do it.
Great work! Take a look at the small commit I pushed up above, private is two underscores not one.
|
Trickybrain Creating the LineReader file