Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
assignees:
- "ezio-melotti"
groups:
actions:
patterns:
- "*"
cooldown:
default-days: 7

- package-ecosystem: pip
directory: "/"
schedule:
interval: monthly
assignees:
- "ezio-melotti"
groups:
pip:
patterns:
- "*"
cooldown:
default-days: 7
9 changes: 3 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ permissions: {}
env:
FORCE_COLOR: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
RUFF_OUTPUT_FORMAT: github

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
- uses: pre-commit/action@v3.0.1
- uses: j178/prek-action@v1
6 changes: 6 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# https://docs.zizmor.sh/configuration/
rules:
unpinned-uses:
config:
policies:
"*": ref-pin
21 changes: 11 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks?target=https://github.com
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -14,44 +14,45 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit?target=https://github.com
rev: v0.11.5
rev: v0.14.10
hooks:
- id: ruff
- id: ruff-check
args: [--fix]
- id: ruff-format

- repo: https://github.com/python-jsonschema/check-jsonschema?target=https://github.com
rev: 0.31.1
rev: 0.36.0
hooks:
- id: check-dependabot
- id: check-github-workflows

- repo: https://github.com/rhysd/actionlint?target=https://github.com
rev: v1.7.7
rev: v1.7.10
hooks:
- id: actionlint

- repo: https://github.com/woodruffw/zizmor-pre-commit?target=https://github.com
rev: v1.3.1
rev: v1.19.0
hooks:
- id: zizmor

- repo: https://github.com/tox-dev/pyproject-fmt?target=https://github.com
rev: v2.5.0
rev: v2.11.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject?target=https://github.com
rev: v0.23
rev: v0.24.1
hooks:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt?target=https://github.com
rev: 1.5.0
rev: 1.7.1
hooks:
- id: tox-ini-fmt

- repo: https://github.com/rbubley/mirrors-prettier?target=https://github.com
rev: v3.5.1
rev: v3.7.4
hooks:
- id: prettier
files: templates/switchers.js
Expand Down