|
1 | 1 | default_language_version: |
2 | | - python: python3 |
| 2 | + python: python3 |
3 | 3 |
|
4 | 4 | repos: |
5 | 5 | - repo: https://github.com/pre-commit/pre-commit-hooks |
6 | 6 | rev: "v4.6.0" |
7 | 7 | hooks: |
8 | | - - id: check-added-large-files |
9 | | - - id: check-docstring-first |
10 | | - - id: check-executables-have-shebangs |
11 | | - - id: check-merge-conflict |
12 | | - - id: check-symlinks |
13 | | - - id: check-yaml |
14 | | - args: |
15 | | - - "--allow-multiple-documents" |
16 | | - # https://github.com/pre-commit/pre-commit-hooks/issues/273 |
17 | | - - "--unsafe" |
18 | | - - id: detect-private-key |
19 | | - - id: mixed-line-ending |
20 | | - - id: debug-statements |
21 | | - - id: trailing-whitespace |
22 | | - args: [--markdown-linebreak-ext=md] # Do not process Markdown files. |
23 | | - - id: end-of-file-fixer |
24 | | - - id: check-ast |
25 | | - - id: check-builtin-literals |
26 | | - - id: check-docstring-first |
27 | | - - id: check-toml |
| 8 | + - id: check-added-large-files |
| 9 | + - id: check-docstring-first |
| 10 | + - id: check-executables-have-shebangs |
| 11 | + - id: check-merge-conflict |
| 12 | + - id: check-symlinks |
| 13 | + - id: check-yaml |
| 14 | + args: |
| 15 | + - "--allow-multiple-documents" |
| 16 | + # https://github.com/pre-commit/pre-commit-hooks/issues/273 |
| 17 | + - "--unsafe" |
| 18 | + - id: detect-private-key |
| 19 | + - id: mixed-line-ending |
| 20 | + - id: debug-statements |
| 21 | + - id: trailing-whitespace |
| 22 | + args: [--markdown-linebreak-ext=md] # Do not process Markdown files. |
| 23 | + - id: end-of-file-fixer |
| 24 | + - id: check-ast |
| 25 | + - id: check-builtin-literals |
| 26 | + - id: check-docstring-first |
| 27 | + - id: check-toml |
28 | 28 |
|
29 | 29 | - repo: https://github.com/PyCQA/flake8 |
30 | 30 | rev: "7.1.1" |
31 | 31 | hooks: |
32 | 32 | - id: flake8 |
33 | | - additional_dependencies: [ |
34 | | - "git+https://github.com/RedHatQE/flake8-plugins.git", |
35 | | - "flake8-mutable", |
36 | | - ] |
| 33 | + additional_dependencies: |
| 34 | + [ |
| 35 | + "git+https://github.com/RedHatQE/flake8-plugins.git", |
| 36 | + "flake8-mutable", |
| 37 | + ] |
37 | 38 |
|
38 | 39 | - repo: https://github.com/Yelp/detect-secrets |
39 | 40 | rev: v1.5.0 |
|
56 | 57 | rev: v1.11.1 |
57 | 58 | hooks: |
58 | 59 | - id: mypy |
59 | | - additional_dependencies: [types-all] |
| 60 | + additional_dependencies: [types-requests] |
0 commit comments