-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a95c0d1
commit 6eac3f2
Showing
6 changed files
with
239 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ exclude: | | |
# Files and folders generated by bots, to avoid loops | ||
^setup/|/static/description/index\.html$| | ||
# We don't want to mess with tool-generated files | ||
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/| | ||
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|^eslint.config.cjs|^prettier.config.cjs| | ||
# Maybe reactivate this when all README files include prettier ignore tags? | ||
^README\.md$| | ||
# Library files can have extraneous formatting (even minimized) | ||
|
@@ -22,7 +22,7 @@ exclude: | | |
(LICENSE.*|COPYING.*) | ||
default_language_version: | ||
python: python3 | ||
node: "16.17.0" | ||
node: "22.9.0" | ||
repos: | ||
- repo: local | ||
hooks: | ||
|
@@ -66,25 +66,35 @@ repos: | |
- id: oca-checks-po | ||
args: | ||
- --disable=po-pretty-format | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.7.1 | ||
- repo: local | ||
hooks: | ||
- id: prettier | ||
name: prettier (with plugin-xml) | ||
additional_dependencies: | ||
- "[email protected]" | ||
- "@prettier/[email protected]" | ||
entry: prettier | ||
args: | ||
- --plugin=@prettier/plugin-xml | ||
- --write | ||
- --list-different | ||
- --ignore-unknown | ||
types: [text] | ||
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$ | ||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: v8.24.0 | ||
language: node | ||
additional_dependencies: | ||
- "[email protected]" | ||
- "@prettier/[email protected]" | ||
- repo: local | ||
hooks: | ||
- id: eslint | ||
verbose: true | ||
name: eslint | ||
entry: eslint | ||
args: | ||
- --color | ||
- --fix | ||
verbose: true | ||
types: [javascript] | ||
language: node | ||
additional_dependencies: | ||
- "[email protected]" | ||
- "[email protected]" | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
|
@@ -114,7 +124,7 @@ repos: | |
args: [--fix, --exit-non-zero-on-fix] | ||
- id: ruff-format | ||
- repo: https://github.com/OCA/pylint-odoo | ||
rev: v9.0.4 | ||
rev: v9.1.3 | ||
hooks: | ||
- id: pylint_odoo | ||
name: pylint with optional checks | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.