Re: [code-quality] pylint --no-docstring-rgx issues

2019-07-15 Thread Bassam Khouri
I had looked at the pylint source code, and did some python troubleshooting, I discovered the matching was only checking against the beginning of the line. Someone in the community also offered the same suggestion (which prompted me to reply to my own post in hopes this may help someone else). I

[code-quality] pylint --no-docstring-rgx issues

2019-05-30 Thread Bassam Khouri
Hi, I'm trying to configure the no-docstring-rgx option to ignore function and class names that: - Starts with _ - Starts with test_ - Ends with tests - Ends with Tests I came up with the following regular expression: (^(test)?_)|((T|t)ests$) When I test the regular expression on https://regex