Hi, this is an excerpt of debcraft's changes to adduser: --- a/debian/copyright +++ b/debian/copyright - 2004 Claus Hindsgaul <claus_h@image.dk> + 2004 Clause Hindsgaul <claus_h@image.dk>--- a/debian/tests/lib/AdduserTestsCommon.pm +++ b/debian/tests/lib/AdduserTestsCommon.pm - isnt($? >> 8, 0, "command failure (expected): @_"); + isn't($? >> 8, 0, "command failure (expected): @_"); (repeated for every assertion using isnt) Greetings Marc
Hi, This is how codespell works. You could either try to influence upstream codespell to be smarter in what type of context it skips, or use a . codespellrc to skip these "fixes".
No offense intended, I'd rather ditch debcraft. Can codespell be completely disabled in debcraft? I don't need a tool that creates three false positives for one useful fix. Greetings Marc
Personally I do a lot of typos and also see Lintian often nag about typos, so I think some spell checking is useful. Alternatives to codespell would be spellintian, or debputy --spellcheck, but in my experience they have more false positives and no mechanism to override such occurrences. Suggestions how to implement a better spell checking (and automatic fixing) are welcome. I don't think removing it completely would be a satisfactory solution to the need.
I do fully agree. "Fixing" function and person's names is not useful. So it's going to be a "debcraft; git reset" workflow in the future. Greetings Marc