Skip to content
Snippets Groups Projects
Verified Commit 6176ed49 authored by Maarten van den Berg's avatar Maarten van den Berg
Browse files

format.sh: Use isort 5 to stop fighting with Black

parent 6138d4dd
No related tags found
No related merge requests found
......@@ -37,6 +37,20 @@ let
doCheck = false;
};
isort = self.buildPythonPackage rec {
pname = "isort";
version = "5.5.4";
src = self.fetchPypi {
inherit pname version;
sha256 = "ba040c24d20aa302f78f4747df549573ae1eaf8e1084269199154da9c483f07f";
};
propagatedBuildInputs = [self.colorama];
doCheck = false;
};
};
};
pythonEnv = python.withPackages (ps: runDependencies ps ++ testDependencies ps);
......
#!/bin/bash
nix-shell -A package --run 'isort --recursive .; black setup.py cinematinator'
nix-shell -A package --run 'isort .; black setup.py cinematinator'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment