Jython VsCode and pylint

Vincent, sorry I did not have time to reply sooner. What you are reporting looks normal to me. I use a .pylintrc file and I’ll put in a PR tommorow to add one to the repo. Until then, add one to the root of your workspace with this as the contents…

[MESSAGES CONTROL]
disable=
    missing-docstring,
    unused-variable,
    line-too-long,
    logging-format-interpolation,
    bare-except,
    broad-except,
    pointless-string-statement,
    undefined-variable,
    unused-argument,
    wrong-import-position,
    anomalous-unicode-escape-in-string,
    global-statement

ignored-modules=
    org.joda.time,
    java,
    core,
    core.jsr223,
    core.actions,
    community,
    personal,
    configuration,
    events

[DESIGN]
# Maximum number of parents for a class (see R0901).
max-parents=15

There may be some other entries that we’d want to include, but these resolved all of the issues I had.

4 Likes