Skip to content

Crash when running pylint with pylint version >= 2.0 #367

@Jean-Daniel

Description

@Jean-Daniel

recent pylint version don't support the exit keyword (and uses do_exit instead)

File "/opt/jenkins/workspace/webservices/env/lib/python3.6/site-packages/django_jenkins/management/commands/jenkins.py", line 116, in handle
    coverage.save(tested_locations, options)
  File "/opt/jenkins/workspace/webservices/env/lib/python3.6/site-packages/django_jenkins/tasks/run_pylint.py", line 44, in run
    lint.Run(args, reporter=ParseableTextReporter(output=output), exit=False)
TypeError: __init__() got an unexpected keyword argument 'exit'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions