From a6caa85a58d81aa4cd47172979a9c94aa8a902c6 Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Sun, 10 Feb 2019 20:37:13 -0700 Subject: pylama: Use %s instead of %t 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 --- test/command_callback/test_pylama_command_callback.vader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command_callback') diff --git a/test/command_callback/test_pylama_command_callback.vader b/test/command_callback/test_pylama_command_callback.vader index a24b55f8..417cb5c9 100644 --- a/test/command_callback/test_pylama_command_callback.vader +++ b/test/command_callback/test_pylama_command_callback.vader @@ -3,7 +3,7 @@ Before: call ale#test#SetFilename('test.py') let b:bin_dir = has('win32') ? 'Scripts' : 'bin' - let b:command_tail = ' %t' + let b:command_tail = ' %s' After: unlet! b:bin_dir -- cgit v1.2.3