I'd like to use twistedchecker when working on the Twisted project.
Twisted has somewhat unusual coding standards that aren't mutually compatible with PEP 8 (e.g. a mandatory three line gap between top-level definitions) so I would like the pylint checkers to be disabled and run only the twistedchecker and pyflakes checkers.
I've tried setting flycheck-python-pylint-executable
to "twistedchecker" in my .dir-locals.el
file, but that does not seem to change the output. (I have confirmed that it is set correctly).
I suspect that the answer is that I should write my own flycheck checker. There are plenty of examples of how to do this, so that should be OK. What I don't know is:
- is there an easier way?
- if not, how would I tell flycheck to use the twisted checker for files in
~/src/Twisted/
?
I have also posted this question to the Twisted-Python mailing list.