Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Using python3 keyword-only arguments or annotated arguments causes a ValueError #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion travis/run_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def run_pylint(paths, cfg, beta_msgs=None, sys_paths=None, extra_params=None):
if not subpaths:
return {'error': 0}
cmd.extend(subpaths)
if 'do_exit' in inspect.getargspec(pylint.lint.Run.__init__)[0]:
if 'do_exit' in inspect.getfullargspec(pylint.lint.Run.__init__)[0]:
# pylint has renamed this keyword argument
pylint_res = pylint.lint.Run(cmd, do_exit=False)
else:
Expand Down