|
3 | 3 | # Update this file: |
4 | 4 | # pre-commit autoupdate |
5 | 5 | default_language_version: |
6 | | - python: python3.8 |
| 6 | + python: python3.10 |
7 | 7 | repos: |
8 | 8 | - repo: https://github.com/python-poetry/poetry |
9 | | - rev: 1.6.0 |
| 9 | + rev: 2.3.2 |
10 | 10 | hooks: |
11 | 11 | - id: poetry-check |
12 | | - # - id: poetry-lock |
| 12 | + - id: poetry-lock |
| 13 | +- repo: https://github.com/python-poetry/poetry-plugin-export |
| 14 | + rev: 1.10.0 |
| 15 | + hooks: |
13 | 16 | - id: poetry-export |
14 | 17 | args: ["-f", "requirements.txt", "-o", "requirements.txt"] |
15 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
16 | | - rev: v4.4.0 |
17 | | - hooks: |
18 | | - - id: check-ast |
19 | | - - id: fix-byte-order-marker |
20 | | - - id: check-case-conflict |
21 | | - - id: check-docstring-first |
22 | | - - id: check-executables-have-shebangs |
23 | | - - id: check-json |
24 | | - - id: check-yaml |
25 | | - - id: debug-statements |
26 | | - # - id: detect-aws-credentials |
27 | | - # - id: detect-private-key |
28 | | - - id: end-of-file-fixer |
29 | | - - id: trailing-whitespace |
30 | | - - id: mixed-line-ending |
| 18 | +# - repo: https://github.com/pre-commit/pre-commit-hooks |
| 19 | +# rev: v6.0.0 |
| 20 | +# hooks: |
| 21 | +# - id: check-ast |
| 22 | +# - id: fix-byte-order-marker |
| 23 | +# - id: check-case-conflict |
| 24 | +# - id: check-docstring-first |
| 25 | +# - id: check-executables-have-shebangs |
| 26 | +# - id: check-json |
| 27 | +# - id: check-yaml |
| 28 | +# - id: debug-statements |
| 29 | +# # - id: detect-aws-credentials |
| 30 | +# # - id: detect-private-key |
| 31 | +# - id: end-of-file-fixer |
| 32 | +# - id: trailing-whitespace |
| 33 | +# - id: mixed-line-ending |
31 | 34 | # - repo: https://github.com/pre-commit/mirrors-mypy |
32 | 35 | # rev: v0.942 |
33 | 36 | # hooks: |
34 | 37 | # - id: mypy |
35 | 38 | # args: [--ignore-missing-imports] |
36 | | -- repo: https://github.com/PyCQA/isort |
37 | | - rev: 5.12.0 |
38 | | - hooks: |
39 | | - - id: isort |
40 | | - args: ["--profile", "black", "--filter-files"] |
| 39 | +# - repo: https://github.com/PyCQA/isort |
| 40 | +# rev: 7.0.0 |
| 41 | +# hooks: |
| 42 | +# - id: isort |
| 43 | +# args: ["--profile", "black", "--filter-files"] |
41 | 44 | - repo: https://github.com/psf/black |
42 | | - rev: 23.7.0 |
| 45 | + rev: 26.1.0 |
43 | 46 | hooks: |
44 | 47 | - id: black |
45 | 48 | - repo: https://github.com/asottile/pyupgrade |
46 | | - rev: v3.10.1 |
| 49 | + rev: v3.21.2 |
47 | 50 | hooks: |
48 | 51 | - id: pyupgrade |
49 | 52 | args: [--py38-plus] |
50 | | -- repo: https://github.com/asottile/blacken-docs |
51 | | - rev: 1.16.0 |
52 | | - hooks: |
53 | | - - id: blacken-docs |
| 53 | +# - repo: https://github.com/asottile/blacken-docs |
| 54 | +# rev: 1.20.0 |
| 55 | +# hooks: |
| 56 | +# - id: blacken-docs |
54 | 57 | # additional_dependencies: [black==20.8b1] |
55 | 58 | ### Needs argument for diasabling line_length |
56 | 59 | ### https://github.com/jackdewinter/pymarkdown/blob/main/docs/rules/rule_md013.md |
57 | | -- repo: https://github.com/jackdewinter/pymarkdown |
58 | | - rev: v0.9.12 |
59 | | - hooks: |
60 | | - - id: pymarkdown |
61 | | - args: |
62 | | - - --config=.pymarkdown.json |
63 | | - # - --disable-rules |
64 | | - # - line-length,no-inline-html |
65 | | - - scan |
| 60 | +# - repo: https://github.com/jackdewinter/pymarkdown |
| 61 | +# rev: v0.9.35 |
| 62 | +# hooks: |
| 63 | +# - id: pymarkdown |
| 64 | +# args: |
| 65 | +# - --config=.pymarkdown.json |
| 66 | +# # - --disable-rules |
| 67 | +# # - line-length,no-inline-html |
| 68 | +# - scan |
0 commit comments