|
1 | 1 | default_language_version: |
2 | | - python: python3 |
| 2 | + python: python3 |
3 | 3 | ci: |
4 | | - autofix_commit_msg: | |
5 | | - [pre-commit.ci] auto fixes from pre-commit hooks |
6 | | - autofix_prs: true |
7 | | - autoupdate_branch: 'pre-commit-autoupdate' |
8 | | - autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' |
9 | | - autoupdate_schedule: monthly |
10 | | - skip: [no-commit-to-branch] |
11 | | - submodules: false |
| 4 | + autofix_commit_msg: | |
| 5 | + [pre-commit.ci] auto fixes from pre-commit hooks |
| 6 | + autofix_prs: true |
| 7 | + autoupdate_branch: "pre-commit-autoupdate" |
| 8 | + autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" |
| 9 | + autoupdate_schedule: monthly |
| 10 | + skip: [no-commit-to-branch] |
| 11 | + submodules: false |
12 | 12 | repos: |
13 | 13 | - repo: https://github.com/pre-commit/pre-commit-hooks |
14 | 14 | rev: v4.6.0 |
@@ -47,6 +47,20 @@ repos: |
47 | 47 | - repo: https://github.com/codespell-project/codespell |
48 | 48 | rev: v2.3.0 |
49 | 49 | hooks: |
50 | | - - id: codespell |
51 | | - additional_dependencies: |
52 | | - - tomli |
| 50 | + - id: codespell |
| 51 | + additional_dependencies: |
| 52 | + - tomli |
| 53 | + # prettier - multi formatter for .json, .yml, and .md files |
| 54 | + - repo: https://github.com/pre-commit/mirrors-prettier |
| 55 | + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 |
| 56 | + hooks: |
| 57 | + - id: prettier |
| 58 | + additional_dependencies: |
| 59 | + - "prettier@^3.2.4" |
| 60 | + # docformatter - PEP 257 compliant docstring formatter |
| 61 | + - repo: https://github.com/s-weigand/docformatter |
| 62 | + rev: 5757c5190d95e5449f102ace83df92e7d3b06c6c |
| 63 | + hooks: |
| 64 | + - id: docformatter |
| 65 | + additional_dependencies: [tomli] |
| 66 | + args: [--in-place, --config, ./pyproject.toml] |
0 commit comments