Runbot Pylint
runbot_pylint · OCA/runbot-addons
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.02 MB
Module directory on disk
Code analysis
4 migration notes
2 models
3 views
0 HTTP endpoints
Migration considerations
RunbotBuild— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceRunbotRepo— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- None
- Python dependencies
- pylint
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_pathCharhelp='Relative path to pylint conf file'
-
create(self, values)@api.modelThis method set configuration of pylint. -
get_modules_to_check_pylint(self)@api.multiThis 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.multiThis 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_pylintBooleanhelp='Check pylint to modules of this repo' -
pylint_conf_pathCharhelp='Relative path to pylint conf file'
-
get_module_list(self, treeish)@api.multiGet module list from a repo with a treeish (sha, tag or branch name)
Loading…
Loading…