generated from jCloud/repository-template
style: fix lines which exceed the line length limit
This commit is contained in:
2 files changed
+22
-17
No files matched your search
@@ -85,7 +85,9 @@ def test_PythonDocumentationGenerator_collect_modules(
|
||||
python_documentation_generator: PythonDocumentationGenerator,
|
||||
expected,
|
||||
):
|
||||
assert python_documentation_generator.namespace().sub_namespaces == expected
|
||||
assert (
|
||||
python_documentation_generator.namespace().sub_namespaces
|
||||
) == expected
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
@@ -292,22 +292,25 @@ def test_PythonDocumentationGenerator_collect_modules(
|
||||
None,
|
||||
[
|
||||
(
|
||||
"""pytest.mark.parametrize('python_documentation_gener"""
|
||||
"""ator,expected', [(PythonDocumentationGenerator(path"""
|
||||
"""lib.Path('tests/unit/core/python/_core/test_project"""
|
||||
"""_dirs/pdir_1'), pathlib.Path('tests/unit/core/pytho"""
|
||||
"""n/_core/test_project_dirs/pdir_1/docs')), []), (Pyt"""
|
||||
"""honDocumentationGenerator(pathlib.Path('tests/unit/"""
|
||||
"""core/python/_core/test_project_dirs/pdir_2'), pathl"""
|
||||
"""ib.Path('tests/unit/core/python/_core/test_project_"""
|
||||
"""dirs/pdir_2/docs')), [PythonPackageNamespace('pkg',"""
|
||||
""" [PythonModuleNamespace('module')])]), (PythonDocum"""
|
||||
"""entationGenerator(pathlib.Path('tests/unit/core/pyt"""
|
||||
"""hon/_core/test_project_dirs/pdir_3'), pathlib.Path("""
|
||||
"""'tests/unit/core/python/_core/test_project_dirs/pdi"""
|
||||
"""r_3/docs')), [PythonPackageNamespace('pkg', [Python"""
|
||||
"""ModuleNamespace(\'module'), PythonPackageNamespace("""
|
||||
"""\'pkg\', [PythonModuleNamespace(\'module2')])])])])"""
|
||||
"pytest.mark.parametrize('python_documentatio"
|
||||
"n_generator,expected', [(PythonDocumentation"
|
||||
"Generator(pathlib.Path('tests/unit/core/pyth"
|
||||
"on/_core/test_project_dirs/pdir_1'), pathlib"
|
||||
".Path('tests/unit/core/python/_core/test_pro"
|
||||
"ject_dirs/pdir_1/docs')), []), (PythonDocume"
|
||||
"ntationGenerator(pathlib.Path('tests/unit/co"
|
||||
"re/python/_core/test_project_dirs/pdir_2'), "
|
||||
"pathlib.Path('tests/unit/core/python/_core/t"
|
||||
"est_project_dirs/pdir_2/docs')), [PythonPack"
|
||||
"ageNamespace('pkg', [PythonModuleNamespace('"
|
||||
"module')])]), (PythonDocumentationGenerator("
|
||||
"pathlib.Path('tests/unit/core/python/_core/t"
|
||||
"est_project_dirs/pdir_3'), pathlib.Path('tes"
|
||||
'ts/unit/core/python/_core/test_project_dirs/'
|
||||
"pdir_3/docs')), [PythonPackageNamespace('pkg"
|
||||
"', [PythonModuleNamespace('module'), Python"
|
||||
"PackageNamespace('pkg', [PythonModuleNames"
|
||||
"pace('module2')])])])])"
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user