Skip to content

Why is ansible-lint pre-commit-hook showing errors on upstream directories? #1207

Answered by ssbarnea
staticdev asked this question in Q&A
Discussion options

You must be logged in to vote

That is how it works as it uses ansible to load the code. For now the only way to avoid these errors is to add these paths to the ignore paths.

If we would just ignore these files we would risk giving false positives about the code. I really doubt this will change any time soon.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ssbarnea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants