Commit graph

10 commits

Author SHA1 Message Date
R. RyanTM a47c309ef4 gitAndTools.pre-commit: 2.4.0 -> 2.6.0 2020-07-06 17:31:38 -07:00
Konstantin Alekseev 49ca8ce7f7 pre-commit: 1.21.0 -> 2.4.0 2020-06-02 13:23:29 -07:00
Jean-Philippe Braun ec46eaadbf pre-commit: use buildPythonPackage
Allows to build a python env with pre_commit module:

  python3.withPackages(p: [p.pre-commit])

pre-commit is already converted to an application in `git-and-tools/default.nix`:

  pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;

So that it can still be installed as a standalone application.
2020-05-20 12:35:22 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Wael Nasreddine 1882d20155
pre-commit: installed git hook should have full path to binary (#77638)
pre-commit currently install impure Git hooks that look for the
`pre-commit` binary in PATH. If the user has `pre-commit` loaded via a
nix-shell instead of having it installed then GUI editors, such as
Intellij, won't be able to use Git commit because the hook fails trying
to look for the `pre-commit` binary in PATH.

This patch updates the hook template to use the hardcoded path to the
`pre-commit` binary if it was found, fallback to using the one from
PATH.
2020-02-01 10:05:42 -08:00
R. RyanTM d38cf0760e gitAndTools.pre-commit: 1.20.0 -> 1.21.0 2020-01-07 09:47:13 -08:00
R. RyanTM 5524f4df0d gitAndTools.pre-commit: 1.18.3 -> 1.20.0 2019-11-04 08:37:18 -08:00
R. RyanTM d1e50a5f78 gitAndTools.pre-commit: 1.18.2 -> 1.18.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pre-commit/versions
2019-09-28 08:49:17 -07:00
Boris Babic 1296b10c31 python3Packages.pre-commit: 1.18.1 -> 1.18.2 2019-08-27 18:15:24 +02:00
Jonathan Ringer 2b2d8919e8 pythonPackage.pre-commit: move to python-modules
Add pkgs.gitAndTools.pre-commit alias
  Add pkgs.pre-commit alias
2019-08-17 12:29:39 +02:00