diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 16:01:06 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 17:32:03 +0200 |
commit | 59b1aef59071cae6e87859dc65de973d2cc595c0 (patch) | |
tree | 18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/coqpit/default.nix | |
parent | 691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff) |
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/coqpit/default.nix')
-rw-r--r-- | pkgs/development/python-modules/coqpit/default.nix | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/coqpit/default.nix b/pkgs/development/python-modules/coqpit/default.nix index 48954b7a9117a..52487176f2690 100644 --- a/pkgs/development/python-modules/coqpit/default.nix +++ b/pkgs/development/python-modules/coqpit/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonAtLeast -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonAtLeast, + pytestCheckHook, }: buildPythonPackage rec { @@ -17,9 +18,7 @@ buildPythonPackage rec { hash = "sha256-FY3PYd8dY5HFKkhD6kBzPt0k1eFugdqsO3yIN4oDk3E="; }; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "coqpit" @@ -27,13 +26,9 @@ buildPythonPackage rec { ]; # https://github.com/coqui-ai/coqpit/issues/40 - disabledTests = lib.optionals (pythonAtLeast "3.11")[ - "test_init_argparse_list_and_nested" - ]; + disabledTests = lib.optionals (pythonAtLeast "3.11") [ "test_init_argparse_list_and_nested" ]; - disabledTestPaths = lib.optionals (pythonAtLeast "3.11")[ - "tests/test_nested_configs.py" - ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.11") [ "tests/test_nested_configs.py" ]; meta = with lib; { description = "Simple but maybe too simple config management through python data classes"; |