|
1 | 1 | repos: |
2 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
3 | | - rev: v4.4.0 |
| 2 | + - repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update |
| 3 | + rev: v0.8.0 |
4 | 4 | hooks: |
5 | | - - id: trailing-whitespace |
6 | | - language_version: python3 |
7 | | - - id: end-of-file-fixer |
8 | | - language_version: python3 |
9 | | - - id: check-merge-conflict |
10 | | - language_version: python3 |
11 | | - - id: requirements-txt-fixer |
12 | | - language_version: python3 |
13 | | - - id: name-tests-test |
14 | | - language_version: python3 |
15 | | - - id: double-quote-string-fixer |
16 | | - language_version: python3 |
17 | | - - id: forbid-new-submodules |
18 | | - language_version: python3 |
19 | | - - id: check-yaml |
20 | | - language_version: python3 |
21 | | - files: (\.(yaml|yml|eyaml))$ |
22 | | - - id: check-json |
23 | | - files: \.(jshintrc|json)$ |
24 | | -- repo: https://github.com/pycqa/flake8 |
25 | | - rev: '' |
| 5 | + - id: pre-commit-update |
| 6 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 7 | + rev: v5.0.0 |
26 | 8 | hooks: |
27 | | - - id: flake8 |
28 | | - language_version: python3 |
29 | | - args: [ |
30 | | - --max-line-length=100, |
31 | | - # We did some funky thing in __init__.py, skip them for now. |
32 | | - --exclude=*__init__.py |
33 | | - ] |
34 | | -- repo: https://github.com/pre-commit/mirrors-autopep8 |
35 | | - rev: v1.5.1 |
| 9 | + - id: trailing-whitespace |
| 10 | + - id: end-of-file-fixer |
| 11 | + - id: check-yaml |
| 12 | + - id: check-json |
| 13 | + - id: detect-private-key |
| 14 | + - id: requirements-txt-fixer |
| 15 | + - repo: https://github.com/codespell-project/codespell |
| 16 | + rev: v2.4.1 |
36 | 17 | hooks: |
37 | | - - id: autopep8 |
38 | | - language_version: python3 |
39 | | -- repo: https://github.com/asottile/add-trailing-comma |
40 | | - rev: v2.0.1 |
| 18 | + - id: codespell |
| 19 | + exclude: ^locale/ |
| 20 | + - repo: https://github.com/astral-sh/ruff-pre-commit |
| 21 | + rev: v0.12.5 |
41 | 22 | hooks: |
42 | | - - id: add-trailing-comma |
43 | | -- repo: https://github.com/asottile/reorder_python_imports |
44 | | - rev: v2.2.0 |
45 | | - hooks: |
46 | | - - id: reorder-python-imports |
47 | | - language_version: python3 |
48 | | -- repo: https://github.com/asottile/pyupgrade |
49 | | - rev: v2.1.1 |
50 | | - hooks: |
51 | | - - id: pyupgrade |
52 | | - args: |
53 | | - - --py3-plus |
54 | | - language_version: python3 |
| 23 | + - id: ruff-check |
| 24 | + args: [--fix] |
| 25 | + - id: ruff-format |
0 commit comments