drahnr / cargo-spellcheck

Checks all your documentation for spelling and grammar mistakes with hunspell and a nlprule based checker for grammar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sometimes dictionary words are temporarily flagged

cmichi opened this issue · comments

Describe the bug

We run cargo-spellcheck 0.7.1 in our GitLab CI environment with the command

cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1

In some runs, typos for words which are in the dictionary are detected. If the job is re-run it will succeed at one point. I've added -vvvv as debug output in the following runs. These are all for the same commit, just re-run.

To Reproduce

I haven't managed to reproduce it locally, but I can easily reproduce it in our CI.

Expected behavior

Each run of cargo-spellcheck should be idempotent.

Please complete the following information:

  • System: Ubuntu 20.04
  • Obtained: cargo install
  • Version: 0.7.1

Closed the wrong one...

I can't seem to reproduce this, with the ink repo, I ran it 100 times and the output was identical each and every time with v0.8.2

@drahnr Thanks for looking into it. I also didn't see this issue appear in recent times, so I'll close this issue and re-open if it appears again. Seems like it was fixed through something ✨ 🔮.