style: fix lines which exceed the line length limit

This commit is contained in:
jakob.scheid committed 2026-09-28 00:04:44 +02:00
1 parent ac72eb283c
commit b2a7c9a0e3
2 files changed
+22 -17

No files matched your search

@@ -85,7 +85,9 @@ def test_PythonDocumentationGenerator_collect_modules(
python_documentation_generator: PythonDocumentationGenerator, python_documentation_generator: PythonDocumentationGenerator,
expected, expected,
): ):
assert python_documentation_generator.namespace().sub_namespaces == expected assert (
python_documentation_generator.namespace().sub_namespaces
) == expected
@pytest.mark.parametrize( @pytest.mark.parametrize(
@@ -292,22 +292,25 @@ def test_PythonDocumentationGenerator_collect_modules(
None, None,
[ [
( (
"""pytest.mark.parametrize('python_documentation_gener""" "pytest.mark.parametrize('python_documentatio"
"""ator,expected', [(PythonDocumentationGenerator(path""" "n_generator,expected', [(PythonDocumentation"
"""lib.Path('tests/unit/core/python/_core/test_project""" "Generator(pathlib.Path('tests/unit/core/pyth"
"""_dirs/pdir_1'), pathlib.Path('tests/unit/core/pytho""" "on/_core/test_project_dirs/pdir_1'), pathlib"
"""n/_core/test_project_dirs/pdir_1/docs')), []), (Pyt""" ".Path('tests/unit/core/python/_core/test_pro"
"""honDocumentationGenerator(pathlib.Path('tests/unit/""" "ject_dirs/pdir_1/docs')), []), (PythonDocume"
"""core/python/_core/test_project_dirs/pdir_2'), pathl""" "ntationGenerator(pathlib.Path('tests/unit/co"
"""ib.Path('tests/unit/core/python/_core/test_project_""" "re/python/_core/test_project_dirs/pdir_2'), "
"""dirs/pdir_2/docs')), [PythonPackageNamespace('pkg',""" "pathlib.Path('tests/unit/core/python/_core/t"
""" [PythonModuleNamespace('module')])]), (PythonDocum""" "est_project_dirs/pdir_2/docs')), [PythonPack"
"""entationGenerator(pathlib.Path('tests/unit/core/pyt""" "ageNamespace('pkg', [PythonModuleNamespace('"
"""hon/_core/test_project_dirs/pdir_3'), pathlib.Path(""" "module')])]), (PythonDocumentationGenerator("
"""'tests/unit/core/python/_core/test_project_dirs/pdi""" "pathlib.Path('tests/unit/core/python/_core/t"
"""r_3/docs')), [PythonPackageNamespace('pkg', [Python""" "est_project_dirs/pdir_3'), pathlib.Path('tes"
"""ModuleNamespace(\'module'), PythonPackageNamespace(""" 'ts/unit/core/python/_core/test_project_dirs/'
"""\'pkg\', [PythonModuleNamespace(\'module2')])])])])""" "pdir_3/docs')), [PythonPackageNamespace('pkg"
"', [PythonModuleNamespace('module'), Python"
"PackageNamespace('pkg', [PythonModuleNames"
"pace('module2')])])])])"
) )
], ],
), ),