Skip to content

Commit

Permalink
Update tests/pyreverse/test_writer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Dec 25, 2024
1 parent 4b59ab8 commit e38b9e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/pyreverse/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ def test_should_show_node_classes(
"""Test class visibility based on their containing module depth.

Check notice on line 313 in tests/pyreverse/test_writer.py

View workflow job for this annotation

GitHub Actions / pylint

C0402

Wrong spelling of a word 'MyClass' in a docstring:
Classes are filtered based on their containing module's depth:

Check notice on line 314 in tests/pyreverse/test_writer.py

View workflow job for this annotation

GitHub Actions / pylint

C0402

Wrong spelling of a word 'subpkg' in a docstring:

Check notice on line 314 in tests/pyreverse/test_writer.py

View workflow job for this annotation

GitHub Actions / pylint

C0402

Wrong spelling of a word 'MyClass' in a docstring:
- MyClass -> depth 0 (no module)
- pkg.MyClass -> depth 0 (module has no dots)
- pkg.subpkg.MyClass -> depth 1 (module has 1 dot)
- pkg.subpkg.mod.MyClass -> depth 2 (module has 2 dots)
- 'MyClass' -> depth 0 (no module)

Check notice on line 315 in tests/pyreverse/test_writer.py

View workflow job for this annotation

GitHub Actions / pylint

C0402

Wrong spelling of a word 'subpkg' in a docstring:

Check notice on line 315 in tests/pyreverse/test_writer.py

View workflow job for this annotation

GitHub Actions / pylint

C0402

Wrong spelling of a word 'MyClass' in a docstring:
- 'pkg.MyClass' -> depth 0 (module has no dots)
- 'pkg.subpkg.MyClass' -> depth 1 (module has 1 dot)
- 'pkg.subpkg.mod.MyClass' -> depth 2 (module has 2 dots)
"""
writer = DiagramWriter(default_config)
print("max_depth:", max_depth)
Expand Down

0 comments on commit e38b9e5

Please sign in to comment.