You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(venv) D:\Repository\GIT\VICAS\api>python manage.py jenkins --enable-coverage
System check identified no issues (0 silenced).
............................
Ran 28 tests in 239.656s
OK
Storing coverage info...
Executing django_jenkins.tasks.run_pylint...
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django_jenkins\management\commands\jenkins.py", line 47, in run_from_argv
super(Command, self).run_from_argv(argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\commands\test.py", line 23, in run_from_argv
super().run_from_argv(argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django_jenkins\management\commands\jenkins.py", line 116, in handle
coverage.save(tested_locations, options)
File "D:\Repository\GIT\VICAS\api\venv\lib\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'
Expected behavior
(venv) D:\Repository\GIT\VICAS\api>python manage.py jenkins --enable-coverage
System check identified no issues (0 silenced).
............................
Ran 28 tests in 242.236s
OK
Storing coverage info...
Executing django_jenkins.tasks.run_pylint...
Done
pylint --version output
2.4
FIX
I fixed the file manually by changing run_pylint.py
Steps to reproduce
Current behavior
(venv) D:\Repository\GIT\VICAS\api>python manage.py jenkins --enable-coverage
System check identified no issues (0 silenced).
............................
Ran 28 tests in 239.656s
OK
Storing coverage info...
Executing django_jenkins.tasks.run_pylint...
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django_jenkins\management\commands\jenkins.py", line 47, in run_from_argv
super(Command, self).run_from_argv(argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\commands\test.py", line 23, in run_from_argv
super().run_from_argv(argv)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "D:\Repository\GIT\VICAS\api\venv\lib\site-packages\django_jenkins\management\commands\jenkins.py", line 116, in handle
coverage.save(tested_locations, options)
File "D:\Repository\GIT\VICAS\api\venv\lib\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'
Expected behavior
(venv) D:\Repository\GIT\VICAS\api>python manage.py jenkins --enable-coverage
System check identified no issues (0 silenced).
............................
Ran 28 tests in 242.236s
OK
Storing coverage info...
Executing django_jenkins.tasks.run_pylint...
Done
pylint --version output
2.4
FIX
I fixed the file manually by changing run_pylint.py
changed to
`
The text was updated successfully, but these errors were encountered: