lol

python312Packages.unittest-xml-reporting: format with nixfmt

+19 -24
+19 -24
pkgs/development/python-modules/unittest-xml-reporting/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , lxml 5 - , pytestCheckHook 6 - , pythonAtLeast 7 - , pythonOlder 8 - , setuptools 9 }: 10 11 buildPythonPackage rec { ··· 22 hash = "sha256-lOJ/+8CVJUXdIaZLLF5PpPkG0DzlNgo46kRZ1Xy7Ju0="; 23 }; 24 25 - build-system = [ 26 - setuptools 27 - ]; 28 29 - dependencies = [ 30 - lxml 31 - ]; 32 33 - nativeCheckInputs = [ 34 - pytestCheckHook 35 - ]; 36 37 - disabledTests = lib.optionals (pythonAtLeast "3.11") [ 38 - # AttributeError: 'tuple' object has no attribute 'shortDescription' 39 - "test_basic_unittest_constructs" 40 - "test_unexpected_success" 41 - ] ++ lib.optionals (pythonAtLeast "3.12") [ 42 - "test_xmlrunner_hold_traceback" 43 - ]; 44 45 pythonImportsCheck = [ "xmlrunner" ]; 46
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + lxml, 6 + pytestCheckHook, 7 + pythonAtLeast, 8 + pythonOlder, 9 + setuptools, 10 }: 11 12 buildPythonPackage rec { ··· 23 hash = "sha256-lOJ/+8CVJUXdIaZLLF5PpPkG0DzlNgo46kRZ1Xy7Ju0="; 24 }; 25 26 + build-system = [ setuptools ]; 27 28 + dependencies = [ lxml ]; 29 30 + nativeCheckInputs = [ pytestCheckHook ]; 31 32 + disabledTests = 33 + lib.optionals (pythonAtLeast "3.11") [ 34 + # AttributeError: 'tuple' object has no attribute 'shortDescription' 35 + "test_basic_unittest_constructs" 36 + "test_unexpected_success" 37 + ] 38 + ++ lib.optionals (pythonAtLeast "3.12") [ "test_xmlrunner_hold_traceback" ]; 39 40 pythonImportsCheck = [ "xmlrunner" ]; 41