set `JULIA_DEPOT_PATH` by damonbayer · Pull Request #3711 · pre-commit/pre-commit · GitHub
Skip to content

set JULIA_DEPOT_PATH - #3711

Merged
asottile merged 1 commit into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH
Jul 15, 2026
Merged

asottile merged 1 commit into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH

Conversation

@damonbayer

@damonbayer damonbayer commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR pins Julia's package depot to the per-hook environment directory by setting
JULIA_DEPOT_PATH in get_env_patch, instead of leaving it at its default (~/.julia).

I believe this is required for julia to fully qualify as a second-class language:

This surfaced in a review from @asottile of pre-commit-ci/runner-image#335.

Details about JULIA_DEPOT_PATH are available here.

@damonbayer damonbayer changed the title set JULIA_DEPOT_PATH set JULIA_DEPOT_PATH Jun 16, 2026
@damonbayer

Copy link
Copy Markdown
Contributor Author

@asottile
asottile force-pushed the dmb_JULIA_DEPOT_PATH branch 2 times, most recently from 1577634 to b4ec27a Compare July 15, 2026 20:53

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile
asottile enabled auto-merge July 15, 2026 20:54
@asottile
asottile force-pushed the dmb_JULIA_DEPOT_PATH branch from b4ec27a to 1e7994f Compare July 15, 2026 20:58
@asottile
asottile merged commit 374d354 into pre-commit:main Jul 15, 2026
30 checks passed
blairham added a commit to blairham/go-pre-commit that referenced this pull request Oct 15, 2026
Upstream 4.6.1 (pre-commit/pre-commit#3711) sets JULIA_DEPOT_PATH to
<envdir>/depot plus a trailing path separator in julia's env patch. Without
it, every julia hook installs packages and precompile caches into the
user's shared ~/.julia, so hook envs are not self-contained and
`pre-commit clean` leaves them behind. The trailing separator keeps
julia's default depots after ours, so the bundled stdlib caches stay
usable and hooks don't recompile from scratch.

RunCommand had no way to pass env, so Run goes through a new
RunCommandEnv; RunCommand delegates to it unchanged.
blairham added a commit to blairham/go-pre-commit that referenced this pull request Oct 15, 2026
Upstream 4.6.1 (pre-commit/pre-commit#3711) sets JULIA_DEPOT_PATH to
<envdir>/depot plus a trailing path separator in julia's env patch. Without
it, every julia hook installs packages and precompile caches into the
user's shared ~/.julia, so hook envs are not self-contained and
`pre-commit clean` leaves them behind. The trailing separator keeps
julia's default depots after ours, so the bundled stdlib caches stay
usable and hooks don't recompile from scratch.

RunCommand had no way to pass env, so Run goes through a new
RunCommandEnv; RunCommand delegates to it unchanged.
blairham added a commit to blairham/go-pre-commit that referenced this pull request Oct 15, 2026
Upstream 4.6.1 (pre-commit/pre-commit#3711) sets JULIA_DEPOT_PATH to
<envdir>/depot plus a trailing path separator in julia's env patch. Without
it, every julia hook installs packages and precompile caches into the
user's shared ~/.julia, so hook envs are not self-contained and
`pre-commit clean` leaves them behind. The trailing separator keeps
julia's default depots after ours, so the bundled stdlib caches stay
usable and hooks don't recompile from scratch.

RunCommand had no way to pass env, so Run goes through a new
RunCommandEnv; RunCommand delegates to it unchanged.
blairham added a commit to blairham/go-pre-commit that referenced this pull request Oct 15, 2026
Upstream 4.6.1 (pre-commit/pre-commit#3711) sets JULIA_DEPOT_PATH to
<envdir>/depot plus a trailing path separator in julia's env patch. Without
it, every julia hook installs packages and precompile caches into the
user's shared ~/.julia, so hook envs are not self-contained and
`pre-commit clean` leaves them behind. The trailing separator keeps
julia's default depots after ours, so the bundled stdlib caches stay
usable and hooks don't recompile from scratch.

RunCommand had no way to pass env, so Run goes through a new
RunCommandEnv; RunCommand delegates to it unchanged.
rlichtenwalter pushed a commit to rlichtenwalter/kdtree that referenced this pull request Oct 16, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update |
|---|---|---|---|---|---|
| [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pre-commit/4.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pre-commit/4.5.1/4.7.0?slim=true) |  | minor |
| [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-clang-format/v23.1.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-clang-format/v23.1.1/v23.1.3?slim=true) | repository | patch |
| [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/rbubley%2fmirrors-prettier/v3.9.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/rbubley%2fmirrors-prettier/v3.9.9/v3.9.10?slim=true) | repository | patch |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit (pre-commit)</summary>

### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12)

[Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0)

\==================

##### Fixes

- Fix `language: node` hooks during commit with `-a` or inside a submodule.
  - Regressed in 4.6.1.
  - [#&#8203;3773](pre-commit/pre-commit#3773) issue by [@&#8203;cbirkhold](https://github.com/cbirkhold).
  - [#&#8203;3774](pre-commit/pre-commit#3774) PR by [@&#8203;cbirkhold](https://github.com/cbirkhold).

### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10)

[Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2)

\==================

##### Fixes

- Fix `language: node` hooks that contain `"scripts": {"build": ...}` with
  npm 11.x.
  - Regressed in 4.6.1.
  - [#&#8203;3737](pre-commit/pre-commit#3737) issue by [@&#8203;mheiges](https://github.com/mheiges).
  - [#&#8203;3743](pre-commit/pre-commit#3743) PR by [@&#8203;asottile](https://github.com/asottile).

### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21)

[Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1)

\==================

##### Fixes

- Install `language: node` hooks via `git`.
  - Fixes npm 12.x compatibility
  - [#&#8203;3719](pre-commit/pre-commit#3719) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3517](pre-commit/pre-commit#3517) issue by [@&#8203;ojob](https://github.com/ojob).
- Set `JULIA_DEPOT_PATH` for `language: julia`.
  - [#&#8203;3711](pre-commit/pre-commit#3711) PR by [@&#8203;damonbayer](https://github.com/damonbayer).
  - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@&#8203;damonbayer](https://github.com/damonbayer).
- Produce error on mistyped `--repo` for `pre-commit autoupdate`.
  - [#&#8203;3701](pre-commit/pre-commit#3701) PR by [@&#8203;mxr](https://github.com/mxr).
  - [#&#8203;3695](pre-commit/pre-commit#3695) issue by [@&#8203;mxr](https://github.com/mxr).
- Improve performance of commit existence check in `pre-push`.
  - [#&#8203;3726](pre-commit/pre-commit#3726) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3604](pre-commit/pre-commit#3604) issue by [@&#8203;ptarjan](https://github.com/ptarjan).
- Avoid duplicating conflicted filenames during `pre-commit run --all-files`.
  - [#&#8203;3727](pre-commit/pre-commit#3727) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3706](pre-commit/pre-commit#3706) issue by [@&#8203;RomanValov](https://github.com/RomanValov).

### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21)

[Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0)

\==================

##### Features

- `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier
  usage with `git` 2.54+ git hooks.
  - [#&#8203;3662](pre-commit/pre-commit#3662) PR by [@&#8203;asottile](https://github.com/asottile).

##### Fixes

- `pre-commit hook-impl`: `--hook-type` is required.
  - [#&#8203;3661](pre-commit/pre-commit#3661) PR by [@&#8203;asottile](https://github.com/asottile).

</details>

<details>
<summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary>

### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

</details>

<details>
<summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary>

### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

[Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Denver)

- Branch creation
  - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://git.lichtenwalter.site/rlichten/kdtree/pulls/69
Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN
Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>
rlichtenwalter pushed a commit to rlichtenwalter/mRMR that referenced this pull request Oct 16, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update |
|---|---|---|---|---|---|
| [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pre-commit/4.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pre-commit/4.5.1/4.7.0?slim=true) |  | minor |
| [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-clang-format/v23.1.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-clang-format/v23.1.1/v23.1.3?slim=true) | repository | patch |
| [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/rbubley%2fmirrors-prettier/v3.9.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/rbubley%2fmirrors-prettier/v3.9.9/v3.9.10?slim=true) | repository | patch |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit (pre-commit)</summary>

### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12)

[Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0)

\==================

##### Fixes

- Fix `language: node` hooks during commit with `-a` or inside a submodule.
  - Regressed in 4.6.1.
  - [#&#8203;3773](pre-commit/pre-commit#3773) issue by [@&#8203;cbirkhold](https://github.com/cbirkhold).
  - [#&#8203;3774](pre-commit/pre-commit#3774) PR by [@&#8203;cbirkhold](https://github.com/cbirkhold).

### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10)

[Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2)

\==================

##### Fixes

- Fix `language: node` hooks that contain `"scripts": {"build": ...}` with
  npm 11.x.
  - Regressed in 4.6.1.
  - [#&#8203;3737](pre-commit/pre-commit#3737) issue by [@&#8203;mheiges](https://github.com/mheiges).
  - [#&#8203;3743](pre-commit/pre-commit#3743) PR by [@&#8203;asottile](https://github.com/asottile).

### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21)

[Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1)

\==================

##### Fixes

- Install `language: node` hooks via `git`.
  - Fixes npm 12.x compatibility
  - [#&#8203;3719](pre-commit/pre-commit#3719) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3517](pre-commit/pre-commit#3517) issue by [@&#8203;ojob](https://github.com/ojob).
- Set `JULIA_DEPOT_PATH` for `language: julia`.
  - [#&#8203;3711](pre-commit/pre-commit#3711) PR by [@&#8203;damonbayer](https://github.com/damonbayer).
  - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@&#8203;damonbayer](https://github.com/damonbayer).
- Produce error on mistyped `--repo` for `pre-commit autoupdate`.
  - [#&#8203;3701](pre-commit/pre-commit#3701) PR by [@&#8203;mxr](https://github.com/mxr).
  - [#&#8203;3695](pre-commit/pre-commit#3695) issue by [@&#8203;mxr](https://github.com/mxr).
- Improve performance of commit existence check in `pre-push`.
  - [#&#8203;3726](pre-commit/pre-commit#3726) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3604](pre-commit/pre-commit#3604) issue by [@&#8203;ptarjan](https://github.com/ptarjan).
- Avoid duplicating conflicted filenames during `pre-commit run --all-files`.
  - [#&#8203;3727](pre-commit/pre-commit#3727) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3706](pre-commit/pre-commit#3706) issue by [@&#8203;RomanValov](https://github.com/RomanValov).

### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21)

[Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0)

\==================

##### Features

- `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier
  usage with `git` 2.54+ git hooks.
  - [#&#8203;3662](pre-commit/pre-commit#3662) PR by [@&#8203;asottile](https://github.com/asottile).

##### Fixes

- `pre-commit hook-impl`: `--hook-type` is required.
  - [#&#8203;3661](pre-commit/pre-commit#3661) PR by [@&#8203;asottile](https://github.com/asottile).

</details>

<details>
<summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary>

### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

</details>

<details>
<summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary>

### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

[Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Denver)

- Branch creation
  - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://git.lichtenwalter.site/rlichten/mRMR/pulls/79
Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN
Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>
rlichtenwalter pushed a commit to rlichtenwalter/popc that referenced this pull request Oct 16, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update |
|---|---|---|---|---|---|
| [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pre-commit/4.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pre-commit/4.5.1/4.7.0?slim=true) |  | minor |
| [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-clang-format/v23.1.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-clang-format/v23.1.1/v23.1.3?slim=true) | repository | patch |
| [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/rbubley%2fmirrors-prettier/v3.9.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/rbubley%2fmirrors-prettier/v3.9.9/v3.9.10?slim=true) | repository | patch |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit (pre-commit)</summary>

### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12)

[Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0)

\==================

##### Fixes

- Fix `language: node` hooks during commit with `-a` or inside a submodule.
  - Regressed in 4.6.1.
  - [#&#8203;3773](pre-commit/pre-commit#3773) issue by [@&#8203;cbirkhold](https://github.com/cbirkhold).
  - [#&#8203;3774](pre-commit/pre-commit#3774) PR by [@&#8203;cbirkhold](https://github.com/cbirkhold).

### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10)

[Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2)

\==================

##### Fixes

- Fix `language: node` hooks that contain `"scripts": {"build": ...}` with
  npm 11.x.
  - Regressed in 4.6.1.
  - [#&#8203;3737](pre-commit/pre-commit#3737) issue by [@&#8203;mheiges](https://github.com/mheiges).
  - [#&#8203;3743](pre-commit/pre-commit#3743) PR by [@&#8203;asottile](https://github.com/asottile).

### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21)

[Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1)

\==================

##### Fixes

- Install `language: node` hooks via `git`.
  - Fixes npm 12.x compatibility
  - [#&#8203;3719](pre-commit/pre-commit#3719) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3517](pre-commit/pre-commit#3517) issue by [@&#8203;ojob](https://github.com/ojob).
- Set `JULIA_DEPOT_PATH` for `language: julia`.
  - [#&#8203;3711](pre-commit/pre-commit#3711) PR by [@&#8203;damonbayer](https://github.com/damonbayer).
  - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@&#8203;damonbayer](https://github.com/damonbayer).
- Produce error on mistyped `--repo` for `pre-commit autoupdate`.
  - [#&#8203;3701](pre-commit/pre-commit#3701) PR by [@&#8203;mxr](https://github.com/mxr).
  - [#&#8203;3695](pre-commit/pre-commit#3695) issue by [@&#8203;mxr](https://github.com/mxr).
- Improve performance of commit existence check in `pre-push`.
  - [#&#8203;3726](pre-commit/pre-commit#3726) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3604](pre-commit/pre-commit#3604) issue by [@&#8203;ptarjan](https://github.com/ptarjan).
- Avoid duplicating conflicted filenames during `pre-commit run --all-files`.
  - [#&#8203;3727](pre-commit/pre-commit#3727) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3706](pre-commit/pre-commit#3706) issue by [@&#8203;RomanValov](https://github.com/RomanValov).

### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21)

[Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0)

\==================

##### Features

- `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier
  usage with `git` 2.54+ git hooks.
  - [#&#8203;3662](pre-commit/pre-commit#3662) PR by [@&#8203;asottile](https://github.com/asottile).

##### Fixes

- `pre-commit hook-impl`: `--hook-type` is required.
  - [#&#8203;3661](pre-commit/pre-commit#3661) PR by [@&#8203;asottile](https://github.com/asottile).

</details>

<details>
<summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary>

### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

</details>

<details>
<summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary>

### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

[Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Denver)

- Branch creation
  - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://git.lichtenwalter.site/rlichten/popc/pulls/33
Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN
Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>
rlichtenwalter pushed a commit to rlichtenwalter/vcp that referenced this pull request Oct 16, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update |
|---|---|---|---|---|---|
| [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pre-commit/4.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pre-commit/4.5.1/4.7.0?slim=true) |  | minor |
| [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-clang-format/v23.1.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-clang-format/v23.1.1/v23.1.3?slim=true) | repository | patch |
| [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/rbubley%2fmirrors-prettier/v3.9.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/rbubley%2fmirrors-prettier/v3.9.9/v3.9.10?slim=true) | repository | patch |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit (pre-commit)</summary>

### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12)

[Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0)

\==================

##### Fixes

- Fix `language: node` hooks during commit with `-a` or inside a submodule.
  - Regressed in 4.6.1.
  - [#&#8203;3773](pre-commit/pre-commit#3773) issue by [@&#8203;cbirkhold](https://github.com/cbirkhold).
  - [#&#8203;3774](pre-commit/pre-commit#3774) PR by [@&#8203;cbirkhold](https://github.com/cbirkhold).

### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10)

[Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2)

\==================

##### Fixes

- Fix `language: node` hooks that contain `"scripts": {"build": ...}` with
  npm 11.x.
  - Regressed in 4.6.1.
  - [#&#8203;3737](pre-commit/pre-commit#3737) issue by [@&#8203;mheiges](https://github.com/mheiges).
  - [#&#8203;3743](pre-commit/pre-commit#3743) PR by [@&#8203;asottile](https://github.com/asottile).

### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21)

[Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1)

\==================

##### Fixes

- Install `language: node` hooks via `git`.
  - Fixes npm 12.x compatibility
  - [#&#8203;3719](pre-commit/pre-commit#3719) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3517](pre-commit/pre-commit#3517) issue by [@&#8203;ojob](https://github.com/ojob).
- Set `JULIA_DEPOT_PATH` for `language: julia`.
  - [#&#8203;3711](pre-commit/pre-commit#3711) PR by [@&#8203;damonbayer](https://github.com/damonbayer).
  - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@&#8203;damonbayer](https://github.com/damonbayer).
- Produce error on mistyped `--repo` for `pre-commit autoupdate`.
  - [#&#8203;3701](pre-commit/pre-commit#3701) PR by [@&#8203;mxr](https://github.com/mxr).
  - [#&#8203;3695](pre-commit/pre-commit#3695) issue by [@&#8203;mxr](https://github.com/mxr).
- Improve performance of commit existence check in `pre-push`.
  - [#&#8203;3726](pre-commit/pre-commit#3726) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3604](pre-commit/pre-commit#3604) issue by [@&#8203;ptarjan](https://github.com/ptarjan).
- Avoid duplicating conflicted filenames during `pre-commit run --all-files`.
  - [#&#8203;3727](pre-commit/pre-commit#3727) PR by [@&#8203;asottile](https://github.com/asottile).
  - [#&#8203;3706](pre-commit/pre-commit#3706) issue by [@&#8203;RomanValov](https://github.com/RomanValov).

### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21)

[Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0)

\==================

##### Features

- `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier
  usage with `git` 2.54+ git hooks.
  - [#&#8203;3662](pre-commit/pre-commit#3662) PR by [@&#8203;asottile](https://github.com/asottile).

##### Fixes

- `pre-commit hook-impl`: `--hook-type` is required.
  - [#&#8203;3661](pre-commit/pre-commit#3661) PR by [@&#8203;asottile](https://github.com/asottile).

</details>

<details>
<summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary>

### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3)

### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

[Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2)

</details>

<details>
<summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary>

### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

[Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Denver)

- Branch creation
  - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://git.lichtenwalter.site/rlichten/vcp/pulls/51
Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN
Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants