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 ]; }