File tree Expand file tree Collapse file tree 3 files changed +25
-44
lines changed
Expand file tree Collapse file tree 3 files changed +25
-44
lines changed Original file line number Diff line number Diff line change 11"""Notes:
22* 'test' command: nox will use poetry.lock to determine dependency versions
3- * 'lint' command: tools and environments are managed by pre-commit
3+ * 'lint' command: tools and environments are managed by prek/ pre-commit
44* All other commands: the current environment will be used instead of creating new ones
55"""
66
@@ -88,8 +88,8 @@ def livedocs(session):
8888
8989@nox .session (python = False )
9090def lint (session ):
91- """Run linters and code formatters via pre-commit"""
92- cmd = 'pre-commit run --all-files'
91+ """Run linters and code formatters via prek/ pre-commit"""
92+ cmd = 'prek run --all-files'
9393 session .run (* cmd .split (' ' ))
9494
9595
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ dev = [
6464 ' coverage~=7.0' ,
6565 ' ipython>=8.0' ,
6666 ' nox~=2025.05' ,
67- ' pre-commit~=4.2 ' ,
67+ ' prek>=0.3 ' ,
6868 ' pyparsing~=3.0' ,
6969 ' pytest~=8.0' ,
7070 ' pytest-cov>=5.0' ,
You can’t perform that action at this time.
0 commit comments