File tree Expand file tree Collapse file tree 3 files changed +43
-191
lines changed
Expand file tree Collapse file tree 3 files changed +43
-191
lines changed Original file line number Diff line number Diff line change 11# See https://pre-commit.com for more information
22# 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+
315repos :
4- - repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v3.2.0
6- hooks :
7- - id : trailing-whitespace
8- - id : end-of-file-fixer
9- - id : check-yaml
10- - id : check-added-large-files
11- - repo : https://github.com/psf/black-pre-commit-mirror
12- rev : 24.3.0
13- hooks :
14- - id : black
15- - repo : https://github.com/PyCQA/docformatter
16- rev : master
17- hooks :
18- - id : docformatter
19- additional_dependencies : [tomli]
20- - repo : https://github.com/pre-commit/mirrors-isort
21- rev : v5.10.1
22- hooks :
23- - id : isort
24- additional_dependencies : [toml]
25- # - repo: https://github.com/pycqa/isort
26- # rev: 5.11.2
27- # hooks:
28- # - id: isort
29- # name: isort (python)
16+ - repo : https://github.com/pre-commit/pre-commit-hooks
17+ rev : v4.6.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 : 5.13.2
28+ hooks :
29+ - id : isort
30+ args : ["--profile=black"] # asegura compatibilidad con Black
31+
32+ - repo : https://github.com/PyCQA/docformatter
33+ rev : v1.7.5
34+ hooks :
35+ - id : docformatter
36+ args :
37+ - --in-place
38+ - --wrap-summaries=88
39+ - --wrap-descriptions=88
40+
41+ - repo : https://github.com/psf/black
42+ rev : 24.3.0
43+ hooks :
44+ - id : black
45+ language_version : python3
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -76,4 +76,4 @@ formats_path = ['static/fairsharing_formats20240226.txt']
7676
7777[internet media types]
7878#path to internet media files file
79- path = ['static/internetmediatypes190224.csv']
79+ path = ['static/internetmediatypes190224.csv']
You can’t perform that action at this time.
0 commit comments