Skip to content

Commit 41fdfcb

Browse files
[pre-commit.ci] pre-commit autoupdate (#61)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/google/yapf: v0.40.0 → v0.40.2](google/yapf@v0.40.0...v0.40.2) - [github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.0.291](astral-sh/ruff-pre-commit@v0.0.290...v0.0.291) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1ecc83f commit 41fdfcb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ repos:
3333
additional_dependencies: [toml]
3434

3535
- repo: https://github.com/google/yapf
36-
rev: v0.40.0
36+
rev: v0.40.2
3737
hooks:
3838
- id: yapf
3939
name: Yapf
4040
additional_dependencies: [toml]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: v0.0.290
43+
rev: v0.0.291
4444
hooks:
4545
- id: ruff

tests/py2puml/parsing/test_moduleresolver.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ def test_ModuleResolver_resolve_full_namespace_type():
4747

4848

4949
def test_ModuleResolver_get_module_full_name():
50-
source_module = MockedInstance({'__name__': 'tests.modules.withconstructor'})
50+
source_module = MockedInstance({
51+
'__name__': 'tests.modules.withconstructor'
52+
})
5153
module_resolver = ModuleResolver(source_module)
5254
assert module_resolver.get_module_full_name() == 'tests.modules.withconstructor'
5355

5456

5557
def test_ModuleResolver_repr():
56-
source_module = MockedInstance({'__name__': 'tests.modules.withconstructor'})
58+
source_module = MockedInstance({
59+
'__name__': 'tests.modules.withconstructor'
60+
})
5761
module_resolver = ModuleResolver(source_module)
5862
assert module_resolver.__repr__() == 'ModuleResolver({"__name__": "tests.modules.withconstructor"})'

0 commit comments

Comments
 (0)