Skip to content

Commit

Permalink
[REF] pre-commit-config: Enable jobs for pylint hook (#140)
Browse files Browse the repository at this point in the history
New pylint-odoo version is compatible to use multiple jobs and this commit enables the option in order to run faster
  • Loading branch information
moylop260 authored Dec 20, 2024
1 parent e0597bf commit e48cf77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ default_language_version:
node: "14.13.0"
repos:
- repo: https://github.com/OCA/pylint-odoo
rev: v9.0.5
rev: v9.2.0
hooks:
- id: pylint_odoo
name: pylint optional checks
args:
- --rcfile=.pylintrc-optional
# External scripts
- --disable=R0000
- --jobs=0 # 0 will auto-detect the number of processors available to use
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.35
hooks:
Expand Down
3 changes: 2 additions & 1 deletion src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ repos:
- id: flake8
name: flake8 mandatory checks
- repo: https://github.com/OCA/pylint-odoo
rev: v9.0.5
rev: v9.2.0
hooks:
- id: pylint_odoo
name: pylint mandatory checks
args:
# External scripts
- --disable=R0000
- --jobs=0 # 0 will auto-detect the number of processors available to use
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.51.0
hooks:
Expand Down

0 comments on commit e48cf77

Please sign in to comment.