summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-05 10:03:56 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-05 10:03:56 +0300
commitad302e75b45362697a7944f7767c37a3fb8df7a5 (patch)
tree5666548a3087712ce477ce59dfd42df6fd19a38d /.pre-commit-config.yaml
parentf44effcec53ec8d24d8cfa7b338203e9a36f3d4e (diff)
downloadjsonschema-ad302e75b45362697a7944f7767c37a3fb8df7a5.tar.gz
Add a permanent way to drop into a debugger from the suite.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml25
1 files changed, 13 insertions, 12 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 37a43e6..5cec24c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,21 +1,22 @@
exclude: json/
repos:
-- repo: https://github.com/pre-commit/pre-commit-hooks
+ - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- - id: check-ast
- - id: check-docstring-first
- - id: check-json
- - id: check-toml
- - id: check-vcs-permalinks
- - id: check-yaml
- - id: debug-statements
- - id: end-of-file-fixer
- - id: mixed-line-ending
+ - id: check-ast
+ - id: check-docstring-first
+ - id: check-json
+ - id: check-toml
+ - id: check-vcs-permalinks
+ - id: check-yaml
+ - id: debug-statements
+ exclude: '^jsonschema/tests/_suite.py$'
+ - id: end-of-file-fixer
+ - id: mixed-line-ending
args: [--fix, lf]
- - id: trailing-whitespace
-- repo: https://github.com/PyCQA/isort
+ - id: trailing-whitespace
+ - repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort