@@ -16,7 +16,7 @@ exclude: |
16
16
(LICENSE.*|COPYING.*)
17
17
default_language_version :
18
18
python : python3
19
- node : " 14.13.0 "
19
+ node : " 18.18.2 "
20
20
repos :
21
21
- repo : local
22
22
hooks :
@@ -33,14 +33,14 @@ repos:
33
33
language : fail
34
34
files : ' [a-zA-Z0-9_]*/i18n/en\.po$'
35
35
- repo : https://github.com/oca/maintainer-tools
36
- rev : ab1d7f6
36
+ rev : 451de41fa3e8aa81d077c804322d48632eb5ff74
37
37
hooks :
38
38
# update the NOT INSTALLABLE ADDONS section above
39
39
- id : oca-update-pre-commit-excluded-addons
40
40
- id : oca-fix-manifest-website
41
41
args : ["https://github.com/akretion/ak-odoo-incubator"]
42
42
- repo : https://github.com/myint/autoflake
43
- rev : v1.4
43
+ rev : v2.3.1
44
44
hooks :
45
45
- id : autoflake
46
46
args :
@@ -51,22 +51,20 @@ repos:
51
51
- --remove-duplicate-keys
52
52
- --remove-unused-variables
53
53
- repo : https://github.com/psf/black
54
- rev : 22.3 .0
54
+ rev : 24.2 .0
55
55
hooks :
56
56
- id : black
57
57
- repo : https://github.com/pre-commit/mirrors-prettier
58
- rev : v2 .1.2
58
+ rev : v3 .1.0
59
59
hooks :
60
60
- id : prettier
61
- name : prettier (with plugin-xml)
61
+ name : prettier + plugin-xml
62
62
additional_dependencies :
63
- - " prettier@2.1.2"
64
- - " @prettier/plugin-xml@0.12.0"
65
- args :
66
- - --plugin=@prettier/plugin-xml
63
+ - " prettier@3.1.0"
64
+ - " @prettier/plugin-xml@3.3.1"
67
65
files : \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
68
66
- repo : https://github.com/pre-commit/mirrors-eslint
69
- rev : v7.8.1
67
+ rev : v8.56.0
70
68
hooks :
71
69
- id : eslint
72
70
verbose : true
@@ -101,7 +99,7 @@ repos:
101
99
- id : pyupgrade
102
100
args : ["--keep-percent-format"]
103
101
- repo : https://github.com/PyCQA/isort
104
- rev : 5.12.0
102
+ rev : 5.13.2
105
103
hooks :
106
104
- id : isort
107
105
name : isort except __init__.py
@@ -119,13 +117,13 @@ repos:
119
117
- --header
120
118
- " # generated from manifests external_dependencies"
121
119
- repo : https://github.com/PyCQA/flake8
122
- rev : 3.8.3
120
+ rev : 7.0.0
123
121
hooks :
124
122
- id : flake8
125
123
name : flake8
126
- additional_dependencies : ["flake8-bugbear==20.1.4 "]
124
+ additional_dependencies : ["flake8-bugbear==24.2.6 "]
127
125
- repo : https://github.com/OCA/pylint-odoo
128
- rev : 7 .0.2
126
+ rev : v9 .0.5
129
127
hooks :
130
128
- id : pylint_odoo
131
129
name : pylint with optional checks
0 commit comments