Skip to content

Commit 95d2d7c

Browse files
committed
Solving issues
1 parent 9584ecc commit 95d2d7c

File tree

1 file changed

+21
-40
lines changed

1 file changed

+21
-40
lines changed

.pre-commit-config.yaml

Lines changed: 21 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,22 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
3-
exclude: |
4-
(?x)^(
5-
.venv/|
6-
venv/|
7-
build/|
8-
dist/|
9-
.*\.egg-info/|
10-
node_modules/|
11-
.*\.ipynb_checkpoints/|
12-
.*\.png|.*\.jpg|.*\.jpeg|.*\.gif|.*\.pdf
13-
)$
14-
151
repos:
16-
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v6.0.0
18-
hooks:
19-
- id: trailing-whitespace
20-
- id: end-of-file-fixer
21-
- id: check-yaml
22-
args: ["--allow-multiple-documents"]
23-
- id: check-added-large-files
24-
args: ["--maxkb=1000"]
25-
26-
- repo: https://github.com/pycqa/isort
27-
rev: 6.0.1
28-
hooks:
29-
- id: isort
30-
args: ["--profile=black"] # asegura compatibilidad con Black
31-
32-
- repo: https://github.com/myint/docformatter
33-
rev: v1.7.5
34-
hooks:
35-
- id: docformatter
36-
37-
- repo: https://github.com/psf/black
38-
rev: 25.1.0
39-
hooks:
40-
- id: black
41-
language_version: python3
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.2.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- repo: https://github.com/psf/black-pre-commit-mirror
10+
rev: 24.3.0
11+
hooks:
12+
- id: black
13+
- repo: https://github.com/PyCQA/docformatter
14+
rev: master
15+
hooks:
16+
- id: docformatter
17+
additional_dependencies: [tomli]
18+
- repo: https://github.com/pre-commit/mirrors-isort
19+
rev: v5.10.1
20+
hooks:
21+
- id: isort
22+
additional_dependencies: [toml]

0 commit comments

Comments
 (0)