Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cppython/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def __init__(

self._interface = interface

generator_configuration = GeneratorConfiguration()
generator_configuration = GeneratorConfiguration(root_path=self.configuration.root_path)
self._generators = self._builder.create_generators(
plugins, generator_configuration, self.project, self.cppython
)
Expand Down
8 changes: 4 additions & 4 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/unit/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test_generator_creation(self, mocker: MockerFixture):
configuration = ProjectConfiguration(root_path=Path(), version="1.0.0")
builder = ProjectBuilder(configuration)

generator_configuration = GeneratorConfiguration()
generator_configuration = GeneratorConfiguration(root_path=configuration.root_path)
generators = builder.create_generators([], generator_configuration, default_pep621, default_cppython_data)

assert not generators
Expand Down