Code quality
ALN** occurrences by order of importance¶
| NOQA | Number of occurrences |
|---|---|
| ALN069: You can't import models from other components, see: https://www.notion.so/alaninsurance/Modular-monolith-a9d84f1318d34115bbd08b3648e5a587 ⧉", | 3 |
ALN043: You can only import things from a Component public module, see: https://www.notion.so/alaninsurance/Modular-monolith-a9d84f1318d34115bbd08b3648e5a587 ⧉", |
1 |
| 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**¶
ALN069 occurs 3 times¶
| File:line | Content |
|---|---|
| components/payment_method/internal/business_logic/merge_duplicate_billing_customer/actions.py:5 ⧉ | from components.payment_gateway.subcomponents.parties.models.financial_instrument import ( # noqa: ALN069 |
| components/payment_method/internal/business_logic/merge_duplicate_billing_customer/actions.py:8 ⧉ | from components.payment_gateway.subcomponents.parties.models.legal_entity_provider_mapping import ( # noqa: ALN069 |
| components/payment_method/internal/business_logic/merge_duplicate_billing_customer/actions.py:11 ⧉ | from components.payment_gateway.subcomponents.parties.protected.entities import ( # noqa: ALN043, ALN069 |
ALN043 occurs 1 times¶
| File:line | Content |
|---|---|
| components/payment_method/internal/business_logic/merge_duplicate_billing_customer/actions.py:11 ⧉ | from components.payment_gateway.subcomponents.parties.protected.entities import ( # noqa: ALN043, ALN069 |