Skip to content

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 ⧉", 1
ALN049: app is a globally shared fixture with the same controllers as the production one, registering blueprints will impact other tests 1
ALN085: Enforces SQLAlchemy 2.0 query style by detecting deprecated patterns that will be removed in SQLAlchemy 2.0. This linter checks for: 1. Usage of session.query() which is deprecated in favor of session.scalar(), session.scalars(), or session.execute() Note: Other SQLAlchemy 2.0 deprecation warnings are already being turned into errors at runtime by the _turn_sql_alchemy_warning_into_errors function in backend/shared/models/orm/sqlalchemy.py. 1

Listing of files of the most critical ALN**

ALN043 occurs 1 times

File:line Content
components/satisfaction_survey/internal/controllers/tests/test_controllers.py:3 ⧉ from components.fr.internal.tests.factories.user import ( # noqa: ALN043