Something went wrong. Try again.
lol
Something went wrong. Try again.
832 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchPypi, flake8, flit-core, pytestCheckHook,}:
buildPythonPackage rec { pname = "flake8-length"; version = "0.3.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-Dr1hTCU2G1STczXJsUPMGFYs1NpIAk1I95vxXsRTtRA="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ flake8 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flake8_length" ];
enabledTestPaths = [ "tests/" ];
meta = { description = "Flake8 plugin for a smart line length validation"; homepage = "https://github.com/orsinium-labs/flake8-length"; changelog = "https://github.com/orsinium-labs/flake8-length/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sauyon ]; };}