Closed baron-zeng closed 1 year ago
Baron,
Line 23 contains the important information here:
./Fixme.py:46:15: E225 missing whitespace around operator
On line 46 of your code, you are missing whitespace around an operator such as
1. +
2. -
3. *
4. /
5. =
I believe this particular error is happening because GitHub is using more than just flake8 to lint the file. As such, even if you passed the flake8 linter, there's still a chance that you will have incorrect syntax. If you fix line 46 and recommit, you should be good to go.
Hi Jonathan,
Thanks for your help. I implemented the changes, and all the test cases have passed. However, the badge still shows red and says that the tests have failed. Do you (or anyone else) know why this is?
It might have something to do with the annotations in the screenshot below.
Many thanks, Baron
Hi,
For HW1, there are no issues with the doctest and linter with my code. However, when I run the tests, the error shown below comes up:
Does anyone know why this is?
Thanks, Baron