diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index cd3bb74f..692d1f88 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -1,5 +1,6 @@ name: PR linting on: + workflow_call: pull_request: types: - edited diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 881f8e3e..6e3783a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.0 + rev: v0.3.1 hooks: - id: ruff args: [--fix] @@ -49,12 +49,13 @@ repos: - --in-place - repo: https://github.com/ComPWA/policy - rev: 0.2.6 + rev: 0.2.7 hooks: - id: check-dev-files args: - --allow-deprecated-workflows - --dependabot=update + - --keep-pr-linting - --no-notebooks - --no-prettierrc - --no-pypi @@ -63,7 +64,7 @@ repos: - --repo-title=ComPWA actions and shared workflows - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.5.0 + rev: v8.6.0 hooks: - id: cspell diff --git a/environment.yml b/environment.yml index d304e4de..4e643a8f 100644 --- a/environment.yml +++ b/environment.yml @@ -7,4 +7,4 @@ dependencies: - pip: - -e .[dev] variables: - PRETTIER_LEGACY_CLI: "1" + PRETTIER_LEGACY_CLI: 1