| Age | Commit message (Collapse) | Author |
|
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
|
|
Diff: https://github.com/pre-commit/pre-commit-hooks/compare/refs/tags/v4.3.0...v4.4.0
Changelog: https://github.com/pre-commit/pre-commit-hooks/blob/v4.4.0/CHANGELOG.md
|
|
|
|
* pre-commit-hooks: fix conditional dependency on tomli
As seen in https://github.com/pre-commit/pre-commit-hooks/commit/fc88f3fa495385e6b367f7c4c8cf10940ad053da, upstream changed their dependency from `toml` to `tomli>=1.1.0;python_version<"3.11"`.
Without this patch, running `check-toml` from this package fails with:
```
Traceback (most recent call last):
File "/nix/store/06qpfmlgkhxakgjs8g7gk5jlkczij0m6-python3.10-pre-commit-hooks-4.3.0/bin/.check-toml-wrapped", line 6, in <module>
from pre_commit_hooks.check_toml import main
File "/nix/store/06qpfmlgkhxakgjs8g7gk5jlkczij0m6-python3.10-pre-commit-hooks-4.3.0/lib/python3.10/site-packages/pre_commit_hooks/check_toml.py", line 10, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
```
See https://github.com/pre-commit/pre-commit-hooks/issues/833.
* pre-commit-hooks: use lib.optionals helper for clarity
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
|
|
|
|
|
|
|
|
|
|
They fail and won't be fixed upstream, see
https://github.com/pre-commit/pre-commit-hooks/pull/655
|
|
|
|
|
|
|
|
|