File tree Expand file tree Collapse file tree 4 files changed +1822
-19
lines changed
Expand file tree Collapse file tree 4 files changed +1822
-19
lines changed Original file line number Diff line number Diff line change 2121 - id : end-of-file-fixer
2222 exclude : ' (^djangoproject\/static\/js\/lib\/.*$)'
2323 exclude_types : [json, sql]
24- - id : file-contents-sorter
25- files : ^(requirements/\w*.txt)$
26- args : ["--ignore-case"]
2724 - id : fix-byte-order-marker
2825 - id : mixed-line-ending
2926 - id : trailing-whitespace
@@ -81,4 +78,35 @@ repos:
8178 - repo : https://github.com/astral-sh/uv-pre-commit
8279 rev : 0.9.24
8380 hooks :
84- - id : uv-lock
81+ - name : Check lock file
82+ id : uv-lock
83+ - name : Check requirements/dev.txt
84+ id : uv-export
85+ args :
86+ [
87+ " --frozen" ,
88+ " --quiet" ,
89+ " --group" ,
90+ " dev" ,
91+ " --output-file=requirements/dev.txt" ,
92+ ]
93+ - name : Check requirements/tests.txt
94+ id : uv-export
95+ args :
96+ [
97+ " --frozen" ,
98+ " --quiet" ,
99+ " --group" ,
100+ " tests" ,
101+ " --output-file=requirements/tests.txt" ,
102+ ]
103+ - name : Check requirements/prod.txt
104+ id : uv-export
105+ args :
106+ [
107+ " --frozen" ,
108+ " --quiet" ,
109+ " --group" ,
110+ " prod" ,
111+ " --output-file=requirements/prod.txt" ,
112+ ]
You can’t perform that action at this time.
0 commit comments