Commit Graph

122 Commits

Author SHA1 Message Date
LCD 47
b01520f6a3 Checker python/flake8: allow multi-letter error codes. 2018-04-02 16:44:57 +03:00
LCD 47
1b7ef51ab5 Checker mypy: support for column numbers (@pbasista). 2018-01-04 12:40:07 +02:00
LCD 47
8393a3c7a2 Cosmetic cleanup. 2017-09-15 21:04:16 +03:00
LCD 47
28376c0c9a Checker flake8: update comments. 2017-09-01 07:51:15 +03:00
LCD 47
f1a9b153bd Checker flake8: allow OpenStack conventions. 2017-08-31 21:19:06 +03:00
LCD 47
4a7633c9f2 Bug fix: the actual bandit checker... 2017-04-24 20:52:02 +03:00
LCD 47
cee74e0c1a Checker pep8 has been renamed to pycodestyle. 2016-06-28 17:28:30 +03:00
LCD 47
eb2b9cfcd9 Cleanup. 2016-04-25 09:15:49 +03:00
LCD 47
77c0bfd54a Checker pylama: isort should produce style messages. 2016-03-24 21:56:50 +02:00
LCD 47
c6d6c79c75 Checker pep257 has been renamed to pydocstyle.
References:
- https://github.com/PyCQA/pydocstyle/issues/172
- https://github.com/PyCQA/pydocstyle/pull/173
2016-02-28 20:17:39 +02:00
LCD 47
a4c3fcc4ad Partial workaround for a misfeature of errorformat. 2015-10-28 17:56:50 +02:00
LCD 47
74fd7e6b92 Show chacker output when whining that we can't parse version string. 2015-07-10 20:14:23 +03:00
LCD 47
0470fff0c5 Checker python/pylama: add option "--force". 2015-06-03 08:13:50 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
47eabae37d New global option: "shell".
Undocumented option "bash_hack" is gone.
New function syntastic#util#system(), that sets up the environment and
is now used consistently everywhere.
Unrelated fix for the elixir checker (syntax).
2015-03-12 19:20:06 +02:00
LCD 47
b427af1e0f Cleanup: case-sensitive comparisons. 2015-02-23 17:09:00 +02:00
LCD 47
7d9aec0bee Prospector no longer accepts option "--external-config". 2015-02-05 16:37:50 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
5359f7f4e1 Python checker: new option g:syntastic_python_python_use_codec (@delfick).
The new option tells the checket to load the file in memory and look for
a comment line "# coding: <codec>".  If found, the named codec is used
to decode the file before checking.  This makes sense only if said codec
doesn't change the line numbers of the initial file.  An example of such
codec is "spec" provided by the "Nose of Yeti" library:

https://github.com/delfick/nose-of-yeti
2015-01-17 11:17:35 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
ba1b4606e7 Prospector: sort loclist. 2014-10-22 10:21:53 +03:00
LCD 47
dd1560862c Prospector: version 0.7 can check individual files. 2014-10-22 10:04:35 +03:00
LCD 47
3fe6f2a842 Prospector: fix typos; add logging; better return checking. 2014-10-22 09:39:56 +03:00
LCD 47
72a7cb3898 New checker for python: prospector. 2014-10-21 16:37:33 +03:00
LCD 47
83d0d7fef4 Pylint: remove leftovers from the logging patch. 2014-10-06 22:23:10 +03:00
LCD 47
ce89396808 Checker-specific logging.
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
LCD 47
aa3db4513e Mypy: cleanup. 2014-09-28 11:28:26 +03:00
Russ Hewgill
d9178ba4ce Added mypy syntax plugin 2014-09-27 19:35:51 -07:00
LCD 47
18a7a9ff59 Pylint checker: more versioning delirium. 2014-09-16 18:31:57 +03:00
Tomer Chachamu
82b2d3172c Bug fix: highlighting on python frosted checker 2014-09-03 18:35:19 +01:00
LCD 47
4c5ff42723 New option for SyntasticMake(): env.
Setting environment variables by prefixing commands with 'VARIABLE=value'
doesn't work under csh.  Solution: let Vim set the environment variables.
2014-07-07 19:04:22 +03:00
LCD 47
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03:00
LCD 47
716038ea46 Output of pep257 has changed.
Fix errorformat.
Make compressWhitespace() postprocess function remove leading and
trailing spaces.
Typo in the manual.
2014-05-10 18:47:50 +03:00
LCD 47
4b00bf5b2e Python checkers: workaround for GNU readline brain damage.
On terms that support smm / rmm (f.i. xterm), initializing readline
prints the smm sequence, regardless of whether stdout is a terminal or
not, which in turn can make checkers' output unparseable.

Workaround: set TERM to dumb before calling the checkers.
2014-04-23 21:16:41 +03:00
LCD 47
68131a7679 Bug fix: error sorting.
Error sorting can't be done as a postprocess function called from
SyntasticMake(), since the final values of some relevant fields (f.i.
type) might not be known yet at that point.  Solution: move sorting to
getLocListRaw(), after per-checker quiet_messages.  New checker methods
getWantSort() / setWantSort() are needed.

Second problem: some checkers return screen columns mixed with byte
indices.  Solution: compute screen columns as needed.  Sadly, everything
about working with screen columns is fragile.
2014-04-16 22:16:40 +03:00
LCD 47
a781914a16 Yet more pylint versioning delirium. 2014-03-24 15:03:50 +02:00
LCD 47
da6520c69f \V<pattern> regexps can spell trouble if <pattern> contains backslashes. 2014-03-09 22:21:29 +02:00
LCD 47
e677e0655e pyflakes: update errorformat. 2014-02-27 18:10:47 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
b0191a144c Refactor of quiet_message filters.
Optimisation: merge handling of global and per-checker filters.
Feature: allow [] and '' values for quiet_messages filter elements.
Feature: allow overrides for quiet_messages filters.
Feature: buffer-local auto_jump and quiet_messages.
Safety: add magic specifiers to catch regexps.
Cleanup: minor restructuring for the forthcoming foreign checkers
feature.
2014-02-24 01:10:33 +02:00
LCD 47
ffe3085a80 Pylint versioning strikes again. 2014-02-17 11:49:02 +02:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +02:00
LCD 47
4c2004d2e5 Bug fix: the result of expand('<sfile>:p:h') has to be escaped. 2014-02-06 11:58:30 +02:00
LCD 47
1bc5fee054 pylint: fix detection of column numbers. 2014-02-04 11:53:26 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
2e5df9569f New Python checker; frosted. 2014-01-27 14:16:27 +02:00