|
1 | 1 | repos:
|
2 |
| - - repo: https://github.com/econchick/interrogate |
3 |
| - rev: 1.7.0 |
| 2 | + - repo: https://github.com/igorshubovych/markdownlint-cli |
| 3 | + rev: v0.44.0 # Use the latest stable version |
4 | 4 | hooks:
|
5 |
| - - id: interrogate |
6 |
| - verbose: True |
7 |
| - exclude: ^(locales|presentation|fuzz/generated|test|cve_bin_tool/checkers|build) |
8 |
| - args: ["-vv", "-i", "-I", "-M", "-C", "-n", "-p", "-f", "60.0"] |
9 |
| - # args for cut and paste: interrogate -vv -i -I -M -C -n -p -f 60.0 |
10 |
| - |
11 |
| - - repo: https://github.com/pycqa/isort |
12 |
| - rev: 6.0.1 |
13 |
| - hooks: |
14 |
| - - id: isort |
15 |
| - stages: [pre-commit, pre-merge-commit] |
16 |
| - exclude: ^fuzz/generated/ |
17 |
| - |
18 |
| - - repo: https://github.com/psf/black-pre-commit-mirror |
19 |
| - rev: 24.10.0 |
20 |
| - hooks: |
21 |
| - - id: black |
22 |
| - exclude: ^fuzz/generated/ |
23 |
| - |
24 |
| - - repo: https://github.com/asottile/pyupgrade |
25 |
| - rev: v3.19.1 |
26 |
| - hooks: |
27 |
| - - id: pyupgrade |
28 |
| - exclude: ^fuzz/generated/ |
29 |
| - args: ["--py38-plus"] |
30 |
| - |
31 |
| - - repo: https://github.com/pycqa/flake8 |
32 |
| - rev: 7.1.2 |
33 |
| - hooks: |
34 |
| - - id: flake8 |
35 |
| - exclude: ^fuzz/generated/|bandit\.conf$ |
36 |
| - |
37 |
| - - repo: https://github.com/PyCQA/bandit |
38 |
| - rev: 1.8.3 |
39 |
| - hooks: |
40 |
| - - id: bandit |
41 |
| - exclude: ^fuzz/generated/ |
42 |
| - args: ["-c", "bandit.conf"] |
43 |
| - |
44 |
| - - repo: https://github.com/jorisroovers/gitlint |
45 |
| - rev: v0.19.1 |
46 |
| - hooks: |
47 |
| - - id: gitlint |
48 |
| - |
49 |
| - - repo: https://github.com/pre-commit/mirrors-mypy |
50 |
| - rev: v1.15.0 |
51 |
| - hooks: |
52 |
| - - id: mypy |
53 |
| - additional_dependencies: |
54 |
| - - types-beautifulsoup4 |
55 |
| - - types-jsonschema |
56 |
| - - types-PyYAML |
57 |
| - - types-requests |
58 |
| - - types-setuptools |
59 |
| - - types-toml |
60 |
| - files: | |
61 |
| - (?x)^( |
62 |
| - cve_bin_tool/parsers/.*| |
63 |
| - cve_bin_tool/__init__.py| |
64 |
| - cve_bin_tool/async_utils.py| |
65 |
| - cve_bin_tool/file.py| |
66 |
| - cve_bin_tool/linkify.py| |
67 |
| - cve_bin_tool/log.py| |
68 |
| - cve_bin_tool/strings.py| |
69 |
| - cve_bin_tool/theme.py| |
70 |
| - cve_bin_tool/util.py| |
71 |
| - cve_bin_tool/validator.py| |
72 |
| - cve_bin_tool/version.py| |
73 |
| - doc/.*| |
74 |
| - test/test_data/.*| |
75 |
| - test/__init__.py| |
76 |
| - test/test_file.py|s |
77 |
| - test/test_requirements.py| |
78 |
| - test/test_strings.py| |
79 |
| - test/test_triage.py| |
80 |
| - test/test_version.py| |
81 |
| - test/utils.py| |
82 |
| - )$ |
83 |
| -
|
84 |
| - - repo: https://github.com/codespell-project/codespell |
85 |
| - rev: v2.4.1 |
86 |
| - hooks: |
87 |
| - - id: codespell |
88 |
| - name: codespell |
89 |
| - description: Checks for common misspellings in text files. |
90 |
| - args: |
91 |
| - [ |
92 |
| - "-I", |
93 |
| - ".github/actions/spelling/allow.txt", |
94 |
| - ".github/actions/spelling/only.txt", |
95 |
| - ".github/actions/spelling/expect.txt", |
96 |
| - ".github/actions/spelling/excludes.txt", |
97 |
| - ] |
98 |
| - language: python |
99 |
| - types: [text] |
| 5 | + - id: markdownlint |
| 6 | + args: ["--disable", "MD013", "MD033"] # Disable long lines & inline HTML rules |
0 commit comments