You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting spelling failures on words like ss. This happens when you have two format variables right next to each other. For example: 'this is a %(test1)s%(test2)s'.
The text was updated successfully, but these errors were encountered:
Hi @svengt!
Thanks for reaching out. We actually don't use the library that much anymore, we switched to msgcheck. That being said, I would be delighted if you can provide a patch to resolve the issue.
We also did some similar improvements on msgcheck, especially when it comes to parsing. Maybe they can serve as reference to work on a patch.
Best
-Joe
@codingjoe Thank you for your quick reply. I was not aware of the package msgcheck, thanks for pointing that out. We will try that first, see if it fits our needs. 👍
Should't this line be
text = re.sub('\%\(.*?\)s?', '', text)
https://github.com/Thermondo/pytest-translations/blob/master/pytest_translations/po_spelling.py#L82, or something in that direction?We're getting spelling failures on words like
ss
. This happens when you have two format variables right next to each other. For example:'this is a %(test1)s%(test2)s'
.The text was updated successfully, but these errors were encountered: