Skip to content

Commit

Permalink
bring it back!
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Mehr committed Mar 15, 2024
1 parent 649ba32 commit f215f1a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ default_stages: [commit]
default_install_hook_types: [pre-commit, commit-msg]

repos:
# - repo: https://github.com/astral-sh/ruff-pre-commit
# # Ruff version.
# rev: v0.1.11
# hooks:
# # Run the linter.
# - id: ruff
# args: [--fix]
# # Run the formatter.
# - id: ruff-format
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.11
hooks:
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format

- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
Expand Down Expand Up @@ -50,14 +50,14 @@ repos:
args:
- "--autofix"
- "--indent=2"
# - repo: local
# hooks:
# - id: validate-commit-msg
# name: Commit Message is Valid
# language: pygrep
# entry: ^(break|build|ci|docs|feat|fix|perf|refactor|style|test|ops|hotfix|release|maint|init|enh|revert)\([\w,\.,\-,\(,\),\/]+\)(!?)(:)\s{1}([\w,\W,:]+)
# stages: [commit-msg]
# args: [--negate]
- repo: local
hooks:
- id: validate-commit-msg
name: Commit Message is Valid
language: pygrep
entry: ^(break|build|ci|docs|feat|fix|perf|refactor|style|test|ops|hotfix|release|maint|init|enh|revert)\([\w,\.,\-,\(,\),\/]+\)(!?)(:)\s{1}([\w,\W,:]+)
stages: [commit-msg]
args: [--negate]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
Expand Down

0 comments on commit f215f1a

Please sign in to comment.