Skip to content

Commit

Permalink
build(pre-commit): disable unused
Browse files Browse the repository at this point in the history
  • Loading branch information
nialov committed Sep 4, 2023
1 parent 8aba4e6 commit 93cf82b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,23 @@
# enable = true;
# name = "mypy-in-env";
# description = "Run static type checks with mypy";
# entry = "${pkgs.poetryEnv}/bin/mypy";
# types = [ "python" ];
# entry =
# let env = pkgs.python3.withPackages (p: with p; [ fractopo mypy ]);
# in "${env}/bin/mypy";
# stages = [ "manual" ];
# pass_filenames = false;
# raw = { args = [ "fractopo" ]; };
# };
# pylint-in-env = {
# enable = true;
# name = "pylint-in-env";
# description = "Run pylint";
# entry = "${pkgs.poetryEnv}/bin/pylint";
# types = [ "python" ];
# entry =
# let env = pkgs.python3.withPackages (p: with p; [ fractopo pylint ]);
# in "${env}/bin/pylint";
# stages = [ "manual" ];
# pass_filenames = false;
# raw = { args = [ "fractopo" ]; };
# };
};
}

0 comments on commit 93cf82b

Please sign in to comment.