File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 8484 } : let
8585 check = self . checks . ${ system } . pre-commit-check ;
8686 in {
87- pure = let
87+ default = let
8888 editableOverlay =
8989 workspace . mkEditablePyprojectOverlay {
9090 root = "$REPO_ROOT" ;
108108 ]
109109 ) ;
110110
111- virtualenv = editablePythonSet . mkVirtualEnv "proselint-env" workspace . deps . all ;
111+ virtualenv = editablePythonSet . mkVirtualEnv "proselint-env" { proselint = [ "test" "dev" ] ; } ;
112112 in
113113 pkgs . mkShell {
114+ buildInputs = check . enabledPackages ;
115+
114116 packages = [
115117 virtualenv
116118 pkgs . uv
124126
125127 shellHook =
126128 ''
129+ export REPO_ROOT=$(git rev-parse --show-toplevel)
127130 unset PYTHONPATH
128- export REPO_ROOT=$(git rev-parse --show-toplevel)
129131 ''
130- ++ check . shellHook ;
132+ + check . shellHook ;
131133 } ;
132134 } ) ;
133135
You can’t perform that action at this time.
0 commit comments