-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement EXCLUDE #1
Comments
I would prefer to simplify the commands so they always take a list of the files needing lint processing. That makes generating the names more flexible, while showing it explicitly in the CMakeLists.txt.
Exclude can then be done as usual in CMake, and we can do more complex globbing. Supposing the executable scripts have no
|
That makes sense to me—let's do it that way. |
OK. Aside from documentation, it will be simple to implement. |
untested: still need unit test cases
The commit above looks like it should work, but has not been tested. I'll keep this issue open until we have unit tests that demonstrate that it works as expected. As coded, the list of sources may be empty. Pylint will complain in that case. A better solution would test for it and print a warning message, instead. |
The unit tests seem to be working OK now. Closing this issue. |
To eliminate files from linting (eg, tests, files which come from elsewhere, etc).
Should support individual files or globs.
The text was updated successfully, but these errors were encountered: