diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..10666ce --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: check-yaml diff --git a/.yamllint.yml b/.yamllint.yml deleted file mode 100644 index a5f2c7b..0000000 --- a/.yamllint.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- - -extends: default - -rules: - line-length: - max: 120 - level: warning diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..e90b121 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +pipx run pre-commit install