- May 07, 2025
-
-
Bot authored
## [1.0.5](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.4...v1.0.5) (2025-05-07) ### Bug Fixes * make config list sorting deterministic ([d90837cf](https://git.gitlab.arm.com/bazel/pre-commit/commit/d90837cfe393493e7cac696b68f8d1d57cc7c252)) * pip spoke whl repository platform ([6daa9df9](https://git.gitlab.arm.com/bazel/pre-commit/commit/6daa9df9f60f9d7d1780421be21a5d12c3d5117f))
-
Alex Tercete authored
-
- May 06, 2025
-
-
Sebastian Birunt authored
Having: ```py pip.parse( hub_name = "pre-commit-hook-{}".format(version), python_version = version, requirements_lock = "//pre-commit/hook/requirements:lock.txt", ), ``` and using `requirements_lock` attribute will create pip spoke whl repositories just for the host platform. This can have potential issues when the repository is platform dependent and the host platform is different of execution platform (common case for RBE build). The change sets pip requirements for different platforms separately. Specifying platforms as: - `"linux_*"` - `"osx_*"` - `"windows_*"` allows the pip to create repositories for different platforms and picks up correct one for the execution platform.
-
- Mar 23, 2025
-
-
Tomer Shterenberg authored
-
- Mar 10, 2025
-
-
Bot authored
## [1.0.4](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.3...v1.0.4) (2025-03-10) ### Bug Fixes * use `Label` for hardcoded target in macro ([30841a93](https://git.gitlab.arm.com/bazel/pre-commit/commit/30841a932126aeaad88c9d827a677f64fff397e2))
-
Alex Tercete authored
-
Alex Tercete authored
-
Alex Tercete authored
-
Alex Tercete authored
Leftover from aeea1465.
-
Bot authored
## [1.0.3](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.2...v1.0.3) (2025-03-10) ### Bug Fixes * remove need to register Python 3.13 toolchain ([c0cd53eb](https://git.gitlab.arm.com/bazel/pre-commit/commit/c0cd53eb85d9badba7b73b789bb4953862021a21))
-
Alex Tercete authored
-
Alex Tercete authored
-
- Mar 07, 2025
-
-
Alex Tercete authored
Users shouldn't need to register an additional toolchain if they're already using a different version of Python.
-
- Mar 05, 2025
-
-
Bot authored
## [1.0.2](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.1...v1.0.2) (2025-03-05) ### Bug Fixes * make Windows non-support explicit ([aeea1465](https://git.gitlab.arm.com/bazel/pre-commit/commit/aeea1465a063d1e895856d02152ff9f2e9499be5)), closes [#1](https://git.gitlab.arm.com/bazel/pre-commit/issues/1)
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Setting the compatiblilty for the configuration generation rule ensures that we do not support Windows. There is no technical barrier here, it just needs thorough testing. Currently, the hermetic bootstrap script for `rules_python` is failing on Windows. See #1
-
Matthew Clarkson authored
-
Bot authored
## [1.0.1](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.0...v1.0.1) (2025-03-05) ### Bug Fixes * **pre-commit:** validate that a runfile is resolved ([b4b8edba](https://git.gitlab.arm.com/bazel/pre-commit/commit/b4b8edba478799231fae032ba29e4a2c88fba10d)) * strip trailing Bazel module separator from workspace name ([b2457f44](https://git.gitlab.arm.com/bazel/pre-commit/commit/b2457f4410ea941b9bc3119121beb58d3879c2f9))
-
Matthew Clarkson authored
-
- Feb 28, 2025
-
-
Matthew Clarkson authored
-
When integrated with `@pre-commit-hooks`, the YAML config was being generated with `@pre-commit-hooks~` as the workspace name, which caused errors when trying to run the hooks. In Bazel 8 the separator is `+`.
-
Matthew Clarkson authored
-
- Feb 27, 2025
-
-
Matthew Clarkson authored
-
Bot authored
# 1.0.0 (2025-02-27) ### Bug Fixes * remove restriction to pass `srcs`/`deps` to `pre_commit_config` ([ed52c063](https://git.gitlab.arm.com/bazel/pre-commit/commit/ed52c063cdf23ee7e13533739016345116c4855c)) * run config update on module lockfile changing ([39636c4a](https://git.gitlab.arm.com/bazel/pre-commit/commit/39636c4a552386f8f68aec625edf310dcc50a652)) ### Features * implement `pre_commit` macro ([88fb9648](https://git.gitlab.arm.com/bazel/pre-commit/commit/88fb9648067d6e76dbc8d35a4e537ad5b9d34e07))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Easy for the user. Does not describe the dependnecy relationship chain. #YOLO
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Prevents regenerating the lockfile.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
It is valid to pass zero hooks and generate a blank configuration.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-