mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Merge pull request #987 from OCA/12-fix-precommit
[REF] pre-commit: copier update, fix pre-commit
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v1.14.0
|
||||
_commit: v1.14.1
|
||||
_src_path: git+https://github.com/oca/oca-addons-repo-template
|
||||
ci: GitHub
|
||||
dependency_installation_mode: PIP
|
||||
|
||||
@@ -41,20 +41,15 @@ repos:
|
||||
language_version: python3.6
|
||||
name: flake8 excluding __init__.py
|
||||
exclude: __init__\.py
|
||||
- repo: https://github.com/pre-commit/mirrors-pylint
|
||||
rev: v2.5.3
|
||||
- repo: https://github.com/OCA/pylint-odoo
|
||||
rev: 7.0.2
|
||||
hooks:
|
||||
- id: pylint
|
||||
- id: pylint_odoo
|
||||
name: pylint with optional checks
|
||||
args:
|
||||
- --rcfile=.pylintrc
|
||||
- --exit-zero
|
||||
verbose: true
|
||||
additional_dependencies: &pylint_deps
|
||||
- pylint-odoo==3.5.0
|
||||
- id: pylint
|
||||
name: pylint with mandatory checks
|
||||
- id: pylint_odoo
|
||||
args:
|
||||
- --rcfile=.pylintrc-mandatory
|
||||
additional_dependencies: *pylint_deps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user