Skip to content

Commit

Permalink
Ignore import mismatch when running Pytest in Nix
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Feb 26, 2024
1 parent 8d20182 commit 38c9909
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
pkgs.stdenv.mkDerivation {
name = "darker-test";
buildInputs = [ pkgs.python311 pkgs.git ];
shellHook = ''
export PY_IGNORE_IMPORTMISMATCH=1
'';
}
)

0 comments on commit 38c9909

Please sign in to comment.