Code quality
ALN** occurrences by order of importance¶
| NOQA | Number of occurrences |
|---|---|
ALN043: You can only import things from a Component public module, see: https://www.notion.so/alaninsurance/Modular-monolith-a9d84f1318d34115bbd08b3648e5a587 ⧉", |
2 |
| ALN089: pytest fixtures with autouse=True in conftest.py files can have unwanted side-effects as they will be used in any tests in the subfolders and can inadvertently use other fixtures that add functionality. Instead, mark tests that need the fixture explicitly with @pytest.mark.usefixtures("fixture_name") or use the fixture as a parameter. | 1 |
Listing of files of the most critical ALN**¶
ALN043 occurs 2 times¶
| File:line | Content |
|---|---|
| components/member_lifecycle/conftest.py:31 ⧉ | from components.authentication.bootstrap.load_all_models import ( # noqa: ALN043 we should be able to import this or it should be auto loaded |
| components/member_lifecycle/conftest.py:34 ⧉ | from components.global_profile.bootstrap.load_all_models import ( # noqa: ALN043 we should be able to import this or it should be auto loaded |