Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Oct 4, 2023
1 parent 8e00621 commit 31959b6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# install
# install package
# pip3 install pre-commit
# run
# register as git commit-hook to run automatically
# pre-commit install
# run manually
# pre-commit run -a
# or
# pre-commit run --files myFile1.py myFile2.py
Expand Down Expand Up @@ -52,7 +54,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.36.0
rev: v0.37.0
hooks:
- id: markdownlint
args: ["--disable", "MD013"]
Expand All @@ -63,7 +65,7 @@ repos:
# - id: markdownlint

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.289"
rev: "v0.0.292"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -82,6 +84,7 @@ repos:
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

# no, black is enough
# - repo: https://github.com/pre-commit/mirrors-autopep8
Expand Down Expand Up @@ -111,7 +114,7 @@ repos:
# - id: reorder-python-imports

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.14.0
hooks:
- id: pyupgrade
args: ["--py310-plus"]
Expand Down

0 comments on commit 31959b6

Please sign in to comment.