Age | Commit message (Collapse) | Author |
|
* Used %s instead of std in
* Set lint_file to 1 for ansible-lint so it does not use temp files
* Fix test for ansible-lint
|
|
Co-authored-by: Horacio Sanson <horacio@allm.inc>
|
|
* Added an explicit stdin argument to ansible-lint >=5.0.0 (ansible_lint.vim).
This commit fixes the issue "<<NO OUTPUT RETURNED>>":
```
:ALEInfo
(finished - exit code 0) ['/bin/bash', '-c', ''ansible-lint'' --parseable-severity -x yaml < ''/tmp/vVyvn4B/7/test2.yml'']
<<<NO OUTPUT RETURNED>>>'
```
Reason: Ansible-lint ignores stdin when "-" or "/dev/stdin" is not
specified explicitly.
Tested with: ansible-lint 5.0.12 using ansible 2.11.2
* Update ansible-lint tests.
|
|
* Fix ansible-lint linter definition.
Use ansible-lint's feature auto-detection instead of temporary file.
For auto-detection to work, ansible project has to be also a git repository.
Don't use yaml rules. These are checked by yamllint.
Refactor pattern to work with ansible-lint >=5.0 version.
Clean-up obsolete test cases.
* Pull Request changes
|
|
|
|
* Allow custom executable for ansible linters
* Add ansible-lint tests
* ansible-lint: simplify linter command
* Rename linter "ansible" to "ansible_lint"
* Add ansible-lint options to documentation
* Add alias ansible-lint for ansible_lint
|
|
option is set
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This PR first and formost implements support for dot-seperate filetypes,
a very trivial change.
This closes #132
But more importantly, this PR vastly improves the test quality for
`ale#linter#Get`. It enables us to reset the state of ale's internal
linter cache, to facilitate better testing, as well as making use of
mocked linters instead of depending on linters on disk (which may
change). In addition, a dummy linter is defined to test the autoloading
behavior.
Header guards were removed from all linters as:
* A: ale won't try and load linters if they already exist in memory
* B: we can't reset state for testing if they can't be loaded again
|
|
|
|
|