A noob here.
I’m usings writers.writePython3Bin to package a python script. I need to pass --ignore=E501
to the builder which is flake8. But how do I do it?
set flakeIgnore
to [ "E508" ]
in the 5th argument here, I guess:
ah damn, so obvious, how did i overlook??
thanks a lot!
There is an even easier solution I also overlooked
You can just pass doCheck = false and avoid checking with linter in the first place
It’s quite recent, added only a few month ago
makePythonWriter: add doCheck toggle · NixOS/nixpkgs@f03b785 · GitHub
1 Like