jxmorris12 / language_tool_python

a free python grammar checker 📝✅
GNU General Public License v3.0
434 stars 64 forks source link

Session-only New Spellings #35

Closed aokellermann closed 3 years ago

aokellermann commented 3 years ago

Changes

jxmorris12 commented 3 years ago

Hi @aokellermann -- thanks! I think these are worthwhile changes.

aokellermann commented 3 years ago

@jxmorris12

I agree -- I think new_spellings_persist is a better name.

I already added a test case in test_major_functionality.py that compares file hashes before registering and after unregistering. You can see it fail here. The function is fairly ugly, but fast. I couldn't think of a better way to do it.

jxmorris12 commented 3 years ago

@jxmorris12

I agree -- I think new_spellings_persist is a better name.

I already added a test case in test_major_functionality.py that compares file hashes before registering and after unregistering. You can see it fail here. The function is fairly ugly, but fast. I couldn't think of a better way to do it.

Works for me! Great work, thanks so much