about summary refs log tree commit diff
path: root/pkgs/tools/misc/pre-commit
AgeCommit message (Collapse)AuthorFilesLines
2022-11-02pre-commit: skip tests broken with Git 2.38.1K9001-0/+11
2022-10-15Merge master into staging-nextgithub-actions[bot]2-6/+12
2022-10-10treewide: optional -> optionals where the argument is a listArtturin1-2/+2
the argument to optional should not be list
2022-10-07pre-commit: use absolute path for binary in hookRebecca Turner2-6/+12
This changes the generated Git hook to refer to the `pre-commit` binary by its absolute path. This means that Git hooks created with `nix-shell --run 'pre-commit install'` or similar will be usable outside of the Nix shell they were created in. I think this is the intended behavior for this package, considering that the `postPatch` phase already includes a substitution for this variable, otherwise unused: substituteInPlace pre_commit/resources/hook-tmpl \ --subst-var-by pre-commit $out
2022-07-11pre-commit: 2.19.0 -> 2.20.0R. Ryantm1-3/+3
2022-05-05pre-commit: 2.18.1 -> 2.19.0Fabian Affolter1-2/+2
2022-04-15treewide: remove redundant numprocesses pytest-xdist parameterMartin Weinelt1-1/+0
Including the pytest-xdist package automatically configures numprocesses to $NIX_BUILD_CORES, so specifying these on a package level has become redundant.
2022-04-08pre-commit: Add libiconv for tests on x86_64-darwinRobert Hensing1-0/+6
Note: not a checkInput, because we need this dependency in the role of a _build_ input during tests: library path, etc. Solves E = note: ld: library not found for -liconv E clang-11: error: linker command failed with exit code 1 (use -v to see invocation) E E E error: failed to compile `rust-hello-world v0.1.0 (/private/tmp/nix-build-python3.9-pre-commit-2.18.1.drv-1/pytest-of-nixbld4/pytest-0/popen-gw3/test_rust_hook0/0/.pre-commit/repomj5itq00)`, intermediate artifacts can be found at `/private/tmp/nix-build-python3.9-pre-commit-2.18.1.drv-1/pytest-of-nixbld4/pytest-0/popen-gw3/test_rust_hook0/0/.pre-commit/repomj5itq00/target` E E Caused by: E could not compile `rust-hello-world` due to previous error pre_commit/util.py:146: CalledProcessError in test case FAILED tests/repository_test.py::test_rust_hook
2022-04-04pre-commit: enable testsArtturin1-11/+106
used arch and openSUSE packages for reference
2022-04-04pre-commit: 2.17.0 -> 2.18.1R. Ryantm1-2/+2
2022-01-19pre-commit: 2.16.0 -> 2.17.0R. Ryantm1-2/+2
2021-12-09pre-commit: move out of python3packagesPhillip Cloud3-0/+98