|
1 | 1 | ci: |
2 | | - autofix_prs: false |
3 | | - autoupdate_schedule: "quarterly" |
| 2 | + autofix_prs: false |
| 3 | + autoupdate_schedule: "quarterly" |
4 | 4 | repos: |
5 | | -- repo: https://github.com/PyCQA/autoflake |
6 | | - rev: v2.3.1 |
| 5 | + - repo: https://github.com/PyCQA/docformatter |
| 6 | + rev: v1.7.5 |
7 | 7 | hooks: |
8 | | - - id: autoflake |
9 | | - args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] |
10 | | -- repo: https://github.com/PyCQA/isort |
11 | | - rev: 5.13.2 |
| 8 | + - id: docformatter |
| 9 | + args: ["--in-place", "--pre-summary-newline", "--make-summary-multi"] |
| 10 | + - repo: https://github.com/PyCQA/autoflake |
| 11 | + rev: v2.3.1 |
12 | 12 | hooks: |
13 | | - - id: isort |
14 | | -- repo: https://github.com/psf/black |
15 | | - rev: 24.8.0 |
| 13 | + - id: autoflake |
| 14 | + args: |
| 15 | + [ |
| 16 | + "--in-place", |
| 17 | + "--remove-all-unused-imports", |
| 18 | + "--remove-unused-variable", |
| 19 | + ] |
| 20 | + exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|docs/conf.py)$" |
| 21 | + - repo: https://github.com/astral-sh/ruff-pre-commit |
| 22 | + rev: "v0.5.0" |
16 | 23 | hooks: |
17 | | - - id: black |
18 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
| 24 | + - id: ruff |
| 25 | + args: ["--fix", "--unsafe-fixes"] |
| 26 | + - id: ruff-format |
| 27 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
19 | 28 | rev: v4.6.0 |
20 | 29 | hooks: |
21 | | - - id: check-ast |
22 | | - - id: check-case-conflict |
23 | | - - id: trailing-whitespace |
24 | | - - id: mixed-line-ending |
25 | | - - id: end-of-file-fixer |
26 | | - - id: check-yaml |
27 | | - - id: debug-statements |
28 | | -- repo: https://github.com/astral-sh/ruff-pre-commit |
29 | | - rev: 'v0.5.7' |
| 30 | + - id: check-ast |
| 31 | + - id: check-case-conflict |
| 32 | + - id: trailing-whitespace |
| 33 | + exclude: ".*(.fits|.fts|.fit|.txt|.csv)$" |
| 34 | + - id: mixed-line-ending |
| 35 | + exclude: ".*(.fits|.fts|.fit|.txt|.csv)$" |
| 36 | + - id: end-of-file-fixer |
| 37 | + exclude: ".*(.fits|.fts|.fit|.txt|.csv)$" |
| 38 | + - id: check-yaml |
| 39 | + - id: debug-statements |
| 40 | + - repo: https://github.com/codespell-project/codespell |
| 41 | + rev: v2.3.0 |
30 | 42 | hooks: |
31 | | - - id: ruff |
32 | | - args: ['--fix'] |
33 | | -- repo: https://github.com/awebdeveloper/pre-commit-stylelint |
34 | | - rev: '0.0.2' |
| 43 | + - id: codespell |
| 44 | + additional_dependencies: |
| 45 | + - tomli |
| 46 | + - repo: https://github.com/rbubley/mirrors-prettier |
| 47 | + rev: v3.3.3 |
35 | 48 | hooks: |
36 | | - - id: stylelint |
37 | | - |
38 | | -- repo: https://github.com/pre-commit/mirrors-prettier |
39 | | - rev: v4.0.0-alpha.8 |
| 49 | + - id: prettier |
| 50 | + - repo: https://github.com/Riverside-Healthcare/djLint |
| 51 | + rev: v1.34.1 |
40 | 52 | hooks: |
41 | | - - id: prettier |
42 | | - types_or: [css, scss, javascript] |
43 | | -- repo: https://github.com/Riverside-Healthcare/djLint |
44 | | - rev: v1.34.1 |
45 | | - hooks: |
46 | | - - id: djlint-jinja |
47 | | - types_or: ["html"] |
| 53 | + - id: djlint-jinja |
| 54 | + types_or: ["html"] |
0 commit comments