Open JonathanWenger opened 4 years ago
While the previously linked PR #59 is merged there are still tons of TODOs in master
e.g. in probnum.linalg.linearsolvers.matrixbased
.
The occurrence of TODOs can now be checked more easily, with
pylint src --enable="fixme"
So the part about "removing todos" is well defined, as having this command pass without errors. Once done, the ./pyproject.toml
should also be adjusted to include this message into future pylint runs.
@JonathanWenger Do you have a similar definition in mind for "removing comments"? I'm not sure that all comments should actually be removed, as there might be some valid cases. See eg. the google style guide (which also has a nice part about todo comments btw)
Update: I added the "fixme" pylint exception only to specific modules. Resolving these is therefore also a part of #158, #159, #160.
There seem to be some legitimate situations that warrant TODO comments in the code in my opinion. For example for some functions of random variables there is in principle a way to compute them and even a paper reference, but no capacity to implement them at this point. I'd suggest we stick to the Google style guide wherever possible, so the actionable part of this issue is to add names to all remaining TODO comments in the google style:
# TODO(kl@gmail.com): Use a "*" here for string repetition.
# TODO(Zeke) Change this to use relations.
The linked PR is merged. Is there still anything actionable here? If yes it might be good to explicitly write what should be done, if not we should close this.