-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rules exceptions not possible or undocumented #19
Comments
+1 for adding some way to configure exceptions in Topy. But note that I haven't had motivation to work on this project for a long time. I think there will always be false positives like this with Topy, and adding exceptions for rules will be a game of whack-a-mole. The ruleset is not maintained by me but comes from Wikipedia, so every update can bring unexpected regressions. So by design, integrating Topy into a CI pipeline doesn't seem like a good idea IMO. That's also why I haven't merged #18 yet, I'm uncertain whether the documentation should encourage that kind of use. |
@intgr Thanks for the quick and detailed update on this. I found I guess that in short term is to make the gate non failing as any kind of fix would take a lot of time. If you are aware about other similar project that could do the same please let me know. As it happens I am interested mostly about py/yaml/json/ini/rst files. I think that Wikipedia is using it for text content and not for code. BTW, If you are not sure that you can invest more into the future of topy you could consider transfering it under pycontribs github organisation in order to allow more people to maintain it. Still, at this point I am not even sure if there is a way of fixing topy. I do understand that I think at least for the moment, the only solution is to disable it. April 2018 update: I decided to switch to https://www.npmjs.com/package/cspell as this speller seems to be allow for custom dictionaries and excludes. |
I have a very simple use case where
topy
fails on a YAML file by trying to add case:Topy would rename
jordan
toJordan
, which will break the code as this is a filename.Few problems related to this:
The text was updated successfully, but these errors were encountered: