File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ updates:
1717 # Safe updates
1818 - dependency-name : " ruff"
1919 - dependency-name : " ty"
20- - dependency-name : " pre-commit "
20+ - dependency-name : " prek "
2121 - dependency-name : " pytest"
2222 - dependency-name : " pytest-cov"
2323 - dependency-name : " pytest-pretty"
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ git checkout -b a-short-description
63634 - You only have to set your development environment now. First uninstall any existing installation of the library with ` pip uninstall torchcam ` , then:
6464``` shell
6565make install-quality
66- pre-commit install
66+ prek install
6767```
6868
6969### Developing your feature
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ lint-format: ${PYPROJECT_FILE} ## Format code and fix linting issues
4040 ruff check --fix . --config ${PYPROJECT_FILE}
4141
4242precommit : ${PYPROJECT_FILE} .pre-commit-config.yaml # # Run pre-commit hooks
43- pre-commit run --all-files
43+ prek run --all-files
4444
4545typing-check : ${PYPROJECT_FILE} # # Check type annotations
4646 uvx ty check .
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ quality = [
5757 " ruff==0.14.2" ,
5858 " ty==0.0.1a25" ,
5959 " types-Pillow" ,
60- " pre-commit==4.3.0 " ,
60+ " prek==0.2.12 " ,
6161]
6262docs = [
6363 # cf. https://github.com/mkdocs/catalog
You can’t perform that action at this time.
0 commit comments