From d9583f3472fb5a4ee6149ea94a382111c5d76893 Mon Sep 17 00:00:00 2001 From: Kierre Date: Wed, 29 Oct 2025 23:38:26 -0400 Subject: [PATCH] Add pre-commit configuration --- .pre-commit-config.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..94b3f5e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,18 @@ +default_install_hook_types: + - pre-commit + - commit-msg +default_stages: + - pre-commit + - manual + +repos: +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.14.2 + hooks: + - id: ruff-check + args: [ "--fix" ] + +- repo: https://foundry.fsky.io/vel/ty-pre-commit + rev: 0.0.1-alpha.25 + hooks: + - id: ty-check