Skip to content

Commit

Permalink
Ignore line length in ruff hook
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 15, 2024
1 parent cb08dbb commit 3e8d7bf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
devShell.x86_64-linux = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
({pkgs, ...}: {
({
pkgs,
lib,
...
}: {
dotenv.disableHint = true;

packages = with pkgs; [
Expand All @@ -36,7 +40,10 @@
pre-commit.hooks = {
isort.enable = true;
black.enable = true;
ruff.enable = true;
ruff = {
enable = true;
entry = lib.mkForce "${pkgs.ruff}/bin/ruff --fix --ignore=E501";
};
};

languages.python = {
Expand Down

0 comments on commit 3e8d7bf

Please sign in to comment.