11fail_fast : false
2- default_stages : [commit]
2+ default_stages : [pre- commit]
33
44repos :
55 # ============================================================================
66 # General checks
77 # ============================================================================
88 - repo : https://github.com/pre-commit/pre-commit-hooks
9- rev : v4.6 .0
9+ rev : v6.0 .0
1010 hooks :
1111 - id : trailing-whitespace
12- stages : [commit, manual]
12+ stages : [pre- commit, manual]
1313 - id : end-of-file-fixer
14- stages : [commit, manual]
14+ stages : [pre- commit, manual]
1515 - id : check-yaml
16- stages : [commit, manual]
16+ stages : [pre- commit, manual]
1717 - id : check-added-large-files
18- stages : [commit, manual]
18+ stages : [pre- commit, manual]
1919 - id : check-docstring-first
2020 files : \.py$
21- stages : [commit, manual]
21+ stages : [pre- commit, manual]
2222 - id : check-merge-conflict
23- stages : [commit, manual]
23+ stages : [pre- commit, manual]
2424 - id : check-case-conflict
25- stages : [commit, manual]
25+ stages : [pre- commit, manual]
2626
2727 # ============================================================================
2828 # Ruff - Modern Python linter and formatter
@@ -34,12 +34,12 @@ repos:
3434 - id : ruff
3535 args : [--fix]
3636 files : ^(dataframe_expectations|tests)/.*\.py$
37- stages : [commit, manual]
37+ stages : [pre- commit, manual]
3838
3939 # Ruff formatter (replaces black)
4040 - id : ruff-format
4141 files : ^(dataframe_expectations|tests)/.*\.py$
42- stages : [commit, manual]
42+ stages : [pre- commit, manual]
4343
4444 # ============================================================================
4545 # Type checking - mypy
5656 pyspark-stubs,
5757 types-PyYAML,
5858 ]
59- stages : [commit, manual]
59+ stages : [pre- commit, manual]
0 commit comments