-
Notifications
You must be signed in to change notification settings - Fork 20
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
panlint: implement #nolint pragma #141
Comments
We encounter the same problem and simply ignore the errors for those files, do you have a better idea for how to handle this? |
well, we run panlint as a test on changes so having a --exclude option or something and then a regex for something like "ssh-rsa " ? |
We now load the ssh keys in a different way, so this is no longer an issue for us. afaik, this can be closed. |
We've had this problem with a couple of other lines where we are embedding content. How about a generic #nolint pragma to tell panlint to ignore the following lines? |
Yup, I've seen No static analyzers can ever be perfect, so having a way for suppressing certain warnings is necessary. |
Could you take a look at #220? The rest of the changes that follow the re-factoring work there provide such functionality. |
It's not that much work to redo #222 on top of the other two if that helps. |
As I started using panlint to cleanup our tree I found it fails for ssh authorized keys on line too long.
Now I could not find a way to exclude them, or split them in a functional way to keep panlint happy as well as maintain the expected output in the profile.
The text was updated successfully, but these errors were encountered: