diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 00000000..7876f78b --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: byexample + name: run code snippets in docstrings to validate them + description: avoids writing errorneous code snippets. + entry: byexample + language: python + require_serial: true