Repository
OCA/runbot-addons · module folder · Try on Runboat
Module version
1.0.0
Category
Website
Folder size
0.02 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.vauxoo.com/
Last tracking update
2026-08-07 07:17:52
Authors
Vauxoo, Odoo Community Association (OCA)
Maintainers
Vauxoo, Odoo Community Association (OCA)
Committers
Pedro M. Baeza
Odoo dependencies
None
Python dependencies
pylint
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
build_button_pylint build_button_pylint ir.ui.view qweb Inherits runbot.build_button
view_build_form_inherit runbot.build form Inherits runbot.view_build_form
view_runbot_pylint_repo_inherit_form Runbot pylint view Form inherit runbot.repo form Inherits runbot.view_repo_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • pylint_conf_path Char
    help='Relative path to pylint conf file'
Public methods (5)
  • create(self, values)
    @api.model
    This method set configuration of pylint.
  • get_modules_to_check_pylint(self)
    @api.multi
    This method get all modules to check pylint test. Using field runbot_repo.check_pylint check box and get modules list from branch with ls-tree. This method use build.modules too to get all depends from selected repo.
  • get_repo_branch_name(self)
    @api.multi
    This method get all repo id and branch name from a build. Include dependency repo. return dict {repo.id = branch_name}
  • job_15_pylint(self, cr, uid, build, lock_path, log_path, args=None)
    This method is used to run pylint test, getting parameters of the pylint configuration, the parameters errors and files to ignore has send in list structures to method _run_test_pylint. :param build: object build of runbot. :param lock_path: path of lock file, this parameter is string. :param log_path: path of log file, this parameter is string, where are has saved the log of test. :param args: this parameter not is required, not is used.
  • job_30_run(self, cr, uid, build, lock_path, log_path)
    Inherit method to make logs from pylint errors

New fields (2)
  • check_pylint Boolean
    help='Check pylint to modules of this repo'
  • pylint_conf_path Char
    help='Relative path to pylint conf file'
Public methods (1)
  • get_module_list(self, treeish)
    @api.multi
    Get module list from a repo with a treeish (sha, tag or branch name)

Loading…

Loading…