|
@ -47,12 +47,13 @@ repos: |
|
|
rev: v2.1.2 |
|
|
rev: v2.1.2 |
|
|
hooks: |
|
|
hooks: |
|
|
- id: prettier |
|
|
- id: prettier |
|
|
name: prettier + plugin-xml |
|
|
|
|
|
|
|
|
name: prettier (with plugin-xml) |
|
|
additional_dependencies: |
|
|
additional_dependencies: |
|
|
- "prettier@2.1.2" |
|
|
- "prettier@2.1.2" |
|
|
- "@prettier/plugin-xml@0.12.0" |
|
|
- "@prettier/plugin-xml@0.12.0" |
|
|
args: |
|
|
args: |
|
|
- --plugin=@prettier/plugin-xml |
|
|
- --plugin=@prettier/plugin-xml |
|
|
|
|
|
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$ |
|
|
- repo: https://github.com/pre-commit/mirrors-eslint |
|
|
- repo: https://github.com/pre-commit/mirrors-eslint |
|
|
rev: v7.8.1 |
|
|
rev: v7.8.1 |
|
|
hooks: |
|
|
hooks: |
|
@ -87,6 +88,7 @@ repos: |
|
|
rev: v2.7.2 |
|
|
rev: v2.7.2 |
|
|
hooks: |
|
|
hooks: |
|
|
- id: pyupgrade |
|
|
- id: pyupgrade |
|
|
|
|
|
args: ["--keep-percent-format"] |
|
|
- repo: https://github.com/PyCQA/isort |
|
|
- repo: https://github.com/PyCQA/isort |
|
|
rev: 5.5.1 |
|
|
rev: 5.5.1 |
|
|
hooks: |
|
|
hooks: |
|
|