|
|
|
@ -9,6 +9,7 @@ |
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "add-trailing-comma"; |
|
|
|
|
version = "2.2.1"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
|
|
|
|
|
@ -19,7 +20,9 @@ buildPythonPackage rec { |
|
|
|
|
sha256 = "RBOL4mM9VciHHNmCTlRBIoXqeln19MKYxgv9p6GCNvU="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ tokenize-rt ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
tokenize-rt |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"add_trailing_comma" |
|
|
|
@ -30,7 +33,7 @@ buildPythonPackage rec { |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals."; |
|
|
|
|
description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals"; |
|
|
|
|
homepage = "https://github.com/asottile/add-trailing-comma"; |
|
|
|
|
license = licenses.mit; |
|
|
|
|
maintainers = with maintainers; [ gador ]; |
|
|
|
|