From a45fa0648d3236b64e51552329a9d6bc891d8f77 Mon Sep 17 00:00:00 2001 From: Arthur Noel Date: Wed, 29 Nov 2023 17:51:49 +0000 Subject: [PATCH] prune redundant after 1133b15 --- lint.nix | 24 ------------------------ shell.nix | 3 --- 2 files changed, 27 deletions(-) delete mode 100644 lint.nix diff --git a/lint.nix b/lint.nix deleted file mode 100644 index b4968a3..0000000 --- a/lint.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ shellcheck -, mypy -, python3 -, lib -, ruff -, runCommand -}: -runCommand "lint" { } '' - set -e - mkdir source - cp -r ${./.}/* source - chmod +w source - cd source - - echo run shellcheck - ${shellcheck}/bin/shellcheck direnvrc - echo run black - ${lib.getExe python3.pkgs.black} --check . - echo run ruff - ${lib.getExe ruff} tests - echo run mypy - ${lib.getExe mypy} tests - touch $out -'' diff --git a/shell.nix b/shell.nix index 19f9be5..87e4645 100644 --- a/shell.nix +++ b/shell.nix @@ -5,10 +5,7 @@ mkShell { nativeBuildInputs = [ python3.pkgs.pytest python3.pkgs.mypy - python3.pkgs.black - python3.pkgs.flake8 ruff - shellcheck direnv ]; }