Skip to content
Open
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
additional_dependencies: [black==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.21"
rev: "v0.15.22"
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -43,7 +43,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v2.2.0"
rev: "v2.3.0"
hooks:
- id: mypy
files: "(src|tests|noxfile.py)"
Expand All @@ -65,7 +65,7 @@ repos:
types_or: [yaml, html, css, scss, javascript, json]

- repo: https://github.com/rvben/rumdl-pre-commit
rev: "v0.2.31"
rev: "v0.2.37"
hooks:
- id: rumdl
args: [--no-exclude] # Disable all exclude patterns
Expand All @@ -77,7 +77,7 @@ repos:
exclude: ^Gemfile\.lock$

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: "v1.26.1"
rev: "v1.27.0"
hooks:
- id: zizmor

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/gha_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
Expand Down Expand Up @@ -116,7 +116,7 @@ tests:
fetch-depth: 0 # Only needed if using setuptools-scm

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand Down Expand Up @@ -425,7 +425,7 @@ Python version might come as a surprise. You can do that, though, using
`update-environment: false` with `setup-python` and `pipx`:

```yaml
- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
id: python
with:
python-version: "3.11"
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ it as a pre-commit hook or as a GitHub Action:

```yaml
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: "v1.26.1"
rev: "v1.27.0"
hooks:
- id: zizmor
```
Expand Down
10 changes: 5 additions & 5 deletions docs/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml`

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.21"
rev: "v0.15.22"
hooks:
# id: ruff-check would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -234,7 +234,7 @@ pre-commit hook.

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.21"
rev: "v0.15.22"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -629,7 +629,7 @@ The pre-commit addition for type checking:
:sync: mypy
```yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v2.2.0"
rev: "v2.3.0"
hooks:
- id: mypy
files: src
Expand Down Expand Up @@ -661,7 +661,7 @@ with `additional_dependencies`, and pass extra flags via `args`.
:sync: ty
```yaml
- repo: https://github.com/astral-sh/ty-pre-commit
rev: "v0.0.59"
rev: "v0.0.61"
hooks:
- id: ty
```
Expand Down Expand Up @@ -868,7 +868,7 @@ If you want a Python based tool, [codespell] is the classic tool used.

```yaml
- repo: https://github.com/codespell-project/codespell
rev: "v2.4.2"
rev: "v2.4.3"
hooks:
- id: codespell
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0
{%- endif %}

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
with:
python-version: "3.x"

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
fetch-depth: 0
{%- endif %}

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
with:
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
allow-prereleases: true
Expand Down
8 changes: 4 additions & 4 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.21"
rev: "v0.15.22"
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -60,7 +60,7 @@ repos:
{%- endif %}

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v2.2.0"
rev: "v2.3.0"
hooks:
- id: mypy
files: src|tests|noxfile.py
Expand All @@ -70,7 +70,7 @@ repos:
- pytest

- repo: https://github.com/codespell-project/codespell
rev: "v2.4.2"
rev: "v2.4.3"
hooks:
- id: codespell
additional_dependencies:
Expand Down Expand Up @@ -118,7 +118,7 @@ repos:
{%- if cookiecutter.__ci == "github" %}

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: "v1.26.1"
rev: "v1.27.0"
hooks:
- id: zizmor
{%- endif %}
Loading