Skip to content

poly check --strict false positive for a pytest plugin #400

@zed

Description

@zed
$ poly check --strict
🔎 Is `e2e_test` needed in `e2e_test_base_project`?

where e2e_test_base_project is a project that runs e2e tests implemented on top of pytest.
It uses custom ns.e2e_test pytest plugin that is defined as a polylith component
(just some shared pytest fixtures between different e2e test projects).

The project does not import ns.e2e_test code explicitly. It is done by pytest itself, triggered by:

pytest_plugins = [
    "ns.e2e_test",
]

in conftest.py inside e2e_test_base polylith base which is the base for the e2e_test_base_project project.

Is there a way to suppress the poly check warning?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions