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
Add syntax checker for Ansible #1858
base: master
Are you sure you want to change the base?
Conversation
Sifus seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice PR with tests. Good work.
I've left a minor comment, please take a look.
And sorry for the delay.
It would be VERY nice if this could get completed and merged. I would love to use it. |
What is lacking for this request to be merged ? In this branch https://github.com/fredericgiquel/flycheck/tree/ansible-lint5, I added some commits after commit accffc6 in order to :
Can these changes be incorporated into this PR or should I create a new one ? |
@fmdkdd can you help unblock this PR? It seems we are missing a user who is supposed to sign a CLA and the "Changes requested" seems to be blocked too even though they have been addressed. |
|
||
See URL `https://ansible-lint.readthedocs.io/en/latest/'." | ||
;; emacs-ansible provides ansible, not ansible-mode | ||
:enabled (bound-and-true-p ansible) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:enabled
is still a predicate and needs a lambda()
, like it was before it has been changed to bound-and-true-p
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obsoleted by @fredericgiquel's branch.
I can confirm that @fredericgiquel's branch works as expected with |
I signed the CLA in early January so my branch should be able to be merged if you want to. |
FWIW I tweaked some more bits on top of @fredericgiquel's branch - master...jdelStrother:flycheck:ansible-lint I was finding that it was ignoring my .ansible-lint file when linting files in subdirectories, and ansible-lint v5/v6 are extremely slow unless you pass (Adding the |
Any updates on this? Otherwise, I might create a checker myself if it's too complicated. |
Would be great if we could move this forward. |
If we're ok dropping support for ansible-lint < 5, I'll rebase & submit my branch as a new PR? (ansible-lint 5 has been out for over 2 years now) |
For me this would be fine but don’t know how it would affect other users. On 27 Apr 2023, at 10:55, Jonathan del Strother ***@***.***> wrote:
If we're ok dropping support for ansible-lint < 5, I'll rebase & submit my branch as a new PR? (ansible-lint 5 has been out for over 2 years now)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
name: New checker
about: Provide a new checker implementation
title: 'Add syntax checker for Ansible'
labels: 'component: checkers'
assignees: ''
Checklist
checker tool in flycheck/docker-tools.
Description
Ansible YAML checker using ansible-lint.
Additional context
Fixes k1LoW/emacs-ansible#29