Skip to content

Commit

Permalink
Fix pytest in derivation.nix
Browse files Browse the repository at this point in the history
We were overriding checkPhase so the pytest hook would not run.
Use postCheck instead which is a hook that is executed.
  • Loading branch information
fzakaria committed Aug 4, 2024
1 parent c652dad commit f17c635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ in
[pytestCheckHook flake8 mypy isort black]
++ [pyright];

checkPhase = ''
postCheck = ''
make lint
'';

Expand Down

0 comments on commit f17c635

Please sign in to comment.