Skip to content

Commit 41f679a

Browse files
committed
Fix code linting errors
1 parent 4402353 commit 41f679a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tests/unit/test_reactor.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def test_nested_module_matched(tmp_path: Path) -> None:
4949
)
5050
component = Component(group="org.bonej", name="bonej-plugins", version="7.2.0")
5151
assert (
52-
locate_module_dir(tmp_path, component)
53-
== tmp_path / "Modern" / "wrapperPlugins"
52+
locate_module_dir(tmp_path, component) == tmp_path / "Modern" / "wrapperPlugins"
5453
)
5554

5655

@@ -75,8 +74,6 @@ def test_target_dirs_skipped(tmp_path: Path) -> None:
7574
_write(tmp_path / "pom.xml", _pom("org.example", "aggregator"))
7675
_write(tmp_path / "mod" / "pom.xml", _pom("org.example", "real"))
7776
# A stray POM under target/ must never win.
78-
_write(
79-
tmp_path / "mod" / "target" / "pom.xml", _pom("org.example", "real")
80-
)
77+
_write(tmp_path / "mod" / "target" / "pom.xml", _pom("org.example", "real"))
8178
component = Component(group="org.example", name="real", version="1.0.0")
8279
assert locate_module_dir(tmp_path, component) == tmp_path / "mod"

0 commit comments

Comments
 (0)