Skip to content

Commit 2f033d8

Browse files
committed
pre-commit mypy: remove types-all
1 parent 590d2ff commit 2f033d8

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

.pre-commit-config.yaml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
default_language_version:
2-
python: python3
2+
python: python3
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
66
rev: "v4.6.0"
77
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
2828

2929
- repo: https://github.com/PyCQA/flake8
3030
rev: "7.1.1"
3131
hooks:
3232
- 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+
]
3738

3839
- repo: https://github.com/Yelp/detect-secrets
3940
rev: v1.5.0
@@ -56,4 +57,4 @@ repos:
5657
rev: v1.11.1
5758
hooks:
5859
- id: mypy
59-
additional_dependencies: [types-all]
60+
additional_dependencies: [types-requests]

0 commit comments

Comments
 (0)