https://bugs.kde.org/show_bug.cgi?id=373457

            Bug ID: 373457
           Summary: pycodestyle invocation slow; should be kept running
           Product: kdev-python
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@svenbrauch.de
          Reporter: m...@svenbrauch.de
                CC: m...@svenbrauch.de
  Target Milestone: ---

Starting up the pycodestyle syntax checker takes about one second, which is too
much to launch it on each parse job. We should instead have some "server"
script running, which processes data from stdin and writes checker errors to
stdout. Example code on how to interface with pycodestyle:

>>> import pycodestyle
>>> c = pycodestyle.Checker(lines=["a=3"])
>>> c.check_all()
stdin:1:2: E225 missing whitespace around operator
stdin:1:4: W292 no newline at end of file
2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to