diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b45a597 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: 2026 GFZ Helmholtz Centre for Geosciences +# SPDX-FileContributor: Sahil Jhawar +# +# SPDX-License-Identifier: Apache-2.0 + +version: 2 +updates: + - package-ecosystem: "pre-commit" + directory: "/" + schedule: + interval: "weekly" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 836357d..5c408b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,3 +13,8 @@ repos: args: [--fix] # Run the formatter. - id: ruff-format + - repo: https://github.com/astral-sh/ty-pre-commit + rev: v0.0.63 + hooks: + - id: ty + files: ^swvo/