python312Packages.rstcheck-core: use nixfmt

+25 -24
+25 -24
pkgs/development/python-modules/rstcheck-core/default.nix
··· 1 - { lib 2 - , stdenv 3 - , buildPythonPackage 4 - , docutils 5 - , fetchFromGitHub 6 - , importlib-metadata 7 - , mock 8 - , pydantic 9 - , pytest-mock 10 - , pytestCheckHook 11 - , pythonOlder 12 - , setuptools 13 - , setuptools-scm 14 - , typing-extensions 1 + { 2 + lib, 3 + stdenv, 4 + buildPythonPackage, 5 + docutils, 6 + fetchFromGitHub, 7 + importlib-metadata, 8 + mock, 9 + pydantic, 10 + pytest-mock, 11 + pytestCheckHook, 12 + pythonOlder, 13 + setuptools, 14 + setuptools-scm, 15 + typing-extensions, 15 16 }: 16 17 17 18 buildPythonPackage rec { ··· 37 38 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes"; 38 39 }; 39 40 40 - dependencies = [ 41 - docutils 42 - pydantic 43 - ] ++ lib.optionals (pythonOlder "3.9") [ 44 - importlib-metadata 45 - typing-extensions 46 - ]; 41 + dependencies = 42 + [ 43 + docutils 44 + pydantic 45 + ] 46 + ++ lib.optionals (pythonOlder "3.9") [ 47 + importlib-metadata 48 + typing-extensions 49 + ]; 47 50 48 51 nativeCheckInputs = [ 49 52 mock ··· 56 59 "test_check_yaml_returns_error_on_bad_code_block" 57 60 ]; 58 61 59 - pythonImportsCheck = [ 60 - "rstcheck_core" 61 - ]; 62 + pythonImportsCheck = [ "rstcheck_core" ]; 62 63 63 64 meta = with lib; { 64 65 description = "Library for checking syntax of reStructuredText";