summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-03-09linter/markdown: adds support for languatool (#2155)Vincent Dahmen
2019-03-08Fix #2326 - ALEComplete no longer replaces completeoptw0rp
2019-03-08Merge pull request #2325 from rustic-games/rust-spansw0rp
set correct Rust span end column
2019-03-07Fix #2330 - Do not use getcurpos() to avoid changing curswantw0rp
2019-03-06Merge pull request #2305 from campbellr/masterw0rp
javac: Don't assume src/main/java always exists
2019-03-05Add lsp_config support for rls (#2332)Nathan Henrie
* Add lsp_config for rls * Add working config example and test
2019-03-03javac: Don't assume src/main/java always existsRyan Campbell
Some projects I have only have src/test/java (no /src/main/java), which seemed to break some incorrect assumptions the linter had.
2019-03-02set correct Rust span end columnJean Mertz
The Rust compiler returns the first column that is _not_ part of the current span as `column_end`, while Ale expects `end_col` to signify the last column of the span.
2019-02-27#2132 - Support deferred execution for LSP executables, commands, and addressesw0rp
2019-02-26Skip the command#Run test for fixers on Windowsw0rp
2019-02-26#2132 - Support deferred fixersw0rp
2019-02-26#2132 - Set up fixers for deferred supportw0rp
2019-02-22Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)"w0rp
This reverts commit f1ed654ca5318de5a24b37d882e55e04e4e566c8.
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2019-02-22#2132 - Implement project_root as a replacement for project_root_callbackw0rp
2019-02-22#2132 - Make most foo_callback options work as foow0rp
2019-02-21#2132 - Implement deferred command handling for lintersw0rp
2019-02-21Fix #2300 - Handle more URIs per RFC 3986w0rp
2019-02-20Merge pull request #2303 from kevinoid/bandit-use-configw0rp
python/bandit: Use .bandit configuration file
2019-02-17python/bandit: Use .bandit configuration fileKevin Locke
Bandit automatically [uses any .bandit file] within the directories on which it is invoked. Since ALE invokes bandit on stdin, it does not load a .bandit file automatically. Add support for automatically finding a .bandit file and passing it to bandit via the --ini option along with a variable to disable this behavior if desired. Note: This is useful for the skips and tests configuration options, but not exclude which would require invoking bandit using a file name, which may or may not be a good trade-off. [uses any .bandit file]: https://github.com/PyCQA/bandit/blob/1.5.1/bandit/cli/main.py#L70-L73 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-17python/pylint: Change directory to project rootKevin Locke
Pylint only [checks for pylintrc] (and .pylintrc) files in the packages aboves its current directory before falling back to user and global pylintrc. For projects with a src dir, running pylint from the directory containing the file will not use the project pylintrc. Adopt the convention used by many other Python linters of running from the project root, which solves this issue. Add pylintrc and .pylintrc to FindProjectRoot. Update docs. [checks for pylintrc]: https://github.com/PyCQA/pylint/blob/pylint-2.2.2/pylint/config.py#L106 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-15Try to get tests to pass on Windows againw0rp
2019-02-15#2295 Send an empty object for the initialized notification, per the specw0rp
2019-02-15Fix #2295 - Respond to initialize with an initialized messagew0rp
2019-02-14Simplify code for marking linters as activew0rp
2019-02-13Fix #2293 - Update linter option documentationw0rp
* The README now points to a valid helptag for linter options. * The now very, very large part of the table of contents for linter and fixer options has been moved into a section so the initial table is smaller. * Special linter or fixer options now lie beneath the general linter or fixer options.
2019-02-13Remove ProcessChain code we do not need noww0rp
2019-02-13Make it easier to remove command_chain support laterw0rp
2019-02-13#2132 Use an on-init callback for all LSP logicw0rp
2019-02-12Merge pull request #2291 from kevinoid/pylama-no-tempw0rp
pylama: Use %s instead of %t
2019-02-12#2132 - Implement deferred executable string handling for lintersw0rp
2019-02-12pylama: Use %s instead of %tKevin Locke
Although using %t to lint changes was desirable, many pylama checks use surrounding paths and file contents (e.g. C0103 module name, E0402 relative import beyond top, etc.) The more such errors I find during testing, the less %t seems like a good idea. Switch to %s. Also set `lint_file` to 1 and mark Pylama as a file linter in the docs. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-11Rewrite the supported tools lists in new filesw0rp
2019-02-11add project_root_callback for tsserver (#2290)Derek Sifford
* add project_root_callback for tsserver * add tests for tsserver project root * Update test/command_callback/test_javascript_tsserver_command_callback.vader
2019-02-10Merge pull request #2268 from m-pilia/alexw0rp
Add settings for the Alex linter
2019-02-10Merge pull request #2287 from kevinoid/vulture-optionsw0rp
Document and test ale_python_vulture_options
2019-02-10Support ale_sh_shellcheck_dialect to set dialectKevin Locke
As discussed in w0rp/ale#1051, there are cases where it would be useful to be able to specify the dialect explicitly. This commit allows users to do so using the ale_sh_shellcheck_dialect variable. Fixes: w0rp/ale#1051 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Document and test ale_python_vulture_optionsKevin Locke
The vulture linter already supports ale_python_vulture_options, but it is not documented or tested. Since vulture only supports configuration via options, it is an important use case. Add docs and test. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Complain about binary operators on the ends of linesw0rp
2019-02-10Supporting filtered jump (#2279)Théo Cavignac
* Support filtered jump based on loclist item type (E or W for now) * Use flags to customize the behavior of ALENext and ALEPrevious * Update <plug> bindings with flags * Update documentation about ALENext and ALEPrevious * Use ale#args#Parse in JumpWrap
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-08Merge pull request #2262 from sectioneight/cd-for-blackw0rp
Respect python black fixer configuration file
2019-02-08Add `-relative` option to ALESymbolSearch (#2255)Alvin Chan
* Add `-relative` option to ALESymbolSearch * Document the `-relative` option for ALEFindReferences and ALESymbolSearch
2019-02-08Fix #2257 - Fix an off by 1 which broke completion for some serversw0rp
2019-02-08Merge pull request #2284 from jqno/masterw0rp
Fixes javalsp linter
2019-02-07Add a function for parsing command argsw0rp
2019-02-07Fixes javalsp linterJan Ouwens
2019-02-06Make Cypher linter dynamicFrancisco Lopes
2019-02-06Merge pull request #2270 from oblitum/add-cypher-lintw0rp
linter/cypher: add cypher-lint
2019-02-06#2132 - lint and fix with ale#command#Runw0rp
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.