Closed mBarreau closed 1 year ago
Hello Matthieu and thank you for this PR :)
I would like to ask if you can submit the PR without the automatic formatting applied, I do not like the way JuliaFormatter formats files so I do not use it. It's also a bit hopeless to review a PR that both makes changes and applies formatting to unrelated code.
@baggepinnen , does that look better to you?
@baggepinnen , what do you think now?
Hi and thank you for updating the PR :) Here is some feedback
The change of keyword argument name from l
to lnorm
is a breaking change to the API, which feels unnecessary.
It's still the case that this PR has a huge diff, affecting a lot of things that aren't actually changed by the PR. For example, why was this large diff below made? Not only does it contribute unnecessary noise to the git history, it also prevents the "toggle comment" command in vscode from being able to toggle the block comment
The PR also does a lot of completely unrelated things which is problematic since the commit history of the PR is quite messy at this stage, but a squash would make all these unrelated changes appear as a single commit which is not ideal either.
I appreciate that you want to contribute to this repository, but I would kindly ask you to avoid large unnecessary diffs that only change subjective things like code style etc., This holds for open-source projects in general, since your subjective opinions may not be shared by the repo owner, and commit history noise makes a lot of git tools much less useful. For example, each time a line of code is changed for no good reason, this git feature becomes useless
Instead of seeing the commit/PR that wrote the line, with a potentially helpful comment as to why the code behaves like it does, you now see an unrelated commit that just changed the style.
Patch coverage: 80.00
% and project coverage change: +0.05
:tada:
Comparison is base (
02a8f03
) 95.40% compared to head (40f6de3
) 95.45%.:exclamation: Current head 40f6de3 differs from pull request most recent head 98b3e73. Consider uploading reports for the commit 98b3e73 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@baggepinnen , sure I will create a new PR which will be cleaner. Just one comment about the change in API. I perfectly understand and I would have left it as it was if possible. However, this parameter is used in plot and is conflicting with the line width... The behavior is now that it changes the line width of the contour together with the multiplication factor, which is not desirable I guess.