Skip to content

Commit e9378fa

Browse files
committed
Update pre-commit directions to use prek
1 parent c2416a3 commit e9378fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Setting up a Python environment and pre-commit.
1+
# Set up a Python environment and prek for pre-commit hooks.
22

33
# Unix or MacOS:
44
# >>> python3 -m venv venv
@@ -9,9 +9,9 @@
99
# >>> venv\Scripts\activate.bat
1010

1111
# >>> pip install --upgrade pip
12-
# >>> pip install pre-commit
13-
# >>> pre-commit install
14-
# >>> pre-commit run --all-files
12+
# >>> pip install prek
13+
# >>> prek install
14+
# >>> prek run --all-files
1515

1616
repos:
1717
- repo: https://github.com/pre-commit/pre-commit-hooks

0 commit comments

Comments
 (0)