File tree 3 files changed +23
-18
lines changed
3 files changed +23
-18
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/cruft/cruft
3
+ rev : 2.15.0
4
+ hooks :
5
+ - id : cruft
6
+ entry : cruft update -y
7
+ additional_dependencies : [toml]
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v4.4 .0
3
+ rev : v4.5 .0
4
4
hooks :
5
5
- id : trailing-whitespace
6
6
- id : end-of-file-fixer
7
7
- id : check-json
8
8
- id : check-yaml
9
9
- id : check-toml
10
10
- id : check-added-large-files
11
+ - id : check-merge-conflict
11
12
- id : debug-statements
12
13
- id : mixed-line-ending
13
- - repo : https://github.com/PyCQA/isort
14
- rev : 5.12.0
15
- hooks :
16
- - id : isort
17
- - repo : https://github.com/psf/black
18
- rev : 23.9.1
19
- hooks :
20
- - id : black
21
14
- repo : https://github.com/keewis/blackdoc
22
- rev : v0.3.8
15
+ rev : v0.3.9
23
16
hooks :
24
17
- id : blackdoc
25
- exclude : generate_reductions.py
26
- additional_dependencies : [black==22.3.0]
27
- - repo : https://github.com/PyCQA/flake8
28
- rev : 6.1.0
18
+ additional_dependencies : [black==23.11.0]
19
+ - repo : https://github.com/astral-sh/ruff-pre-commit
20
+ rev : v0.1.13
29
21
hooks :
30
- - id : flake8
22
+ - id : ruff
23
+ args : [--fix, --show-fixes]
24
+ - id : ruff-format
31
25
- repo : https://github.com/executablebooks/mdformat
32
26
rev : 0.7.17
33
27
hooks :
34
28
- id : mdformat
35
29
- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
36
- rev : v2.10 .0
30
+ rev : v2.12 .0
37
31
hooks :
38
32
- id : pretty-format-yaml
39
- args : [--autofix]
33
+ args : [--autofix, --preserve-quotes ]
40
34
- id : pretty-format-toml
41
35
args : [--autofix]
36
+ - repo : https://github.com/gitleaks/gitleaks
37
+ rev : v8.18.1
38
+ hooks :
39
+ - id : gitleaks
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ def get_footprint_linestring(
316
316
317
317
318
318
def make_geospatial_attributes (
319
- footprint : Sequence [Tuple [float , float ]]
319
+ footprint : Sequence [Tuple [float , float ]],
320
320
) -> Dict [str , Any ]:
321
321
wkt = "POLYGON((" + "," .join (f"{ y } { x } " for y , x in footprint ) + "))"
322
322
geospatial_attrs = {
You can’t perform that action at this time.
0 commit comments