Skip to content

Commit ae695c4

Browse files
committed
[IMP] update dotfiles
1 parent d38be87 commit ae695c4

6 files changed

+239
-209
lines changed

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.26
2+
_commit: v1.27
33
_src_path: git+https://github.com/OCA/oca-addons-repo-template
44
additional_ruff_rules: []
55
ci: GitHub

.eslintrc.yml

-188
This file was deleted.

.pre-commit-config.yaml

+22-12
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: |
55
# Files and folders generated by bots, to avoid loops
66
^setup/|/static/description/index\.html$|
77
# We don't want to mess with tool-generated files
8-
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
8+
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|^eslint.config.cjs|^prettier.config.cjs|
99
# Maybe reactivate this when all README files include prettier ignore tags?
1010
^README\.md$|
1111
# Library files can have extraneous formatting (even minimized)
@@ -22,7 +22,7 @@ exclude: |
2222
(LICENSE.*|COPYING.*)
2323
default_language_version:
2424
python: python3
25-
node: "16.17.0"
25+
node: "22.9.0"
2626
repos:
2727
- repo: local
2828
hooks:
@@ -66,25 +66,35 @@ repos:
6666
- id: oca-checks-po
6767
args:
6868
- --disable=po-pretty-format
69-
- repo: https://github.com/pre-commit/mirrors-prettier
70-
rev: v2.7.1
69+
- repo: local
7170
hooks:
7271
- id: prettier
7372
name: prettier (with plugin-xml)
74-
additional_dependencies:
75-
- "prettier@2.7.1"
76-
- "@prettier/plugin-xml@2.2.0"
73+
entry: prettier
7774
args:
78-
- --plugin=@prettier/plugin-xml
75+
- --write
76+
- --list-different
77+
- --ignore-unknown
78+
types: [text]
7979
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
80-
- repo: https://github.com/pre-commit/mirrors-eslint
81-
rev: v8.24.0
80+
language: node
81+
additional_dependencies:
82+
- "prettier@3.3.3"
83+
- "@prettier/plugin-xml@3.4.1"
84+
- repo: local
8285
hooks:
8386
- id: eslint
84-
verbose: true
87+
name: eslint
88+
entry: eslint
8589
args:
8690
- --color
8791
- --fix
92+
verbose: true
93+
types: [javascript]
94+
language: node
95+
additional_dependencies:
96+
- "eslint@9.12.0"
97+
- "eslint-plugin-jsdoc@50.3.1"
8898
- repo: https://github.com/pre-commit/pre-commit-hooks
8999
rev: v4.6.0
90100
hooks:
@@ -114,7 +124,7 @@ repos:
114124
args: [--fix, --exit-non-zero-on-fix]
115125
- id: ruff-format
116126
- repo: https://github.com/OCA/pylint-odoo
117-
rev: v9.0.4
127+
rev: v9.1.3
118128
hooks:
119129
- id: pylint_odoo
120130
name: pylint with optional checks

.prettierrc.yml

-8
This file was deleted.

0 commit comments

Comments
 (0)