bgpTddlmZmZddlmZddlmZGddejZdS))checkers interfaces)utils)BASE_IDceZdZejfZdZdedddeddiZe j ddZ e j d d Z d S) AuthUserCheckerzauth-user-checkerE41)zHard-coded 'auth.User'hard-coded-auth-userzJDon't hard-code the auth.User model. Use settings.AUTH_USER_MODEL instead!42)z3User model imported from django.contrib.auth.modelsimported-auth-userzeDon't import django.contrib.auth.models.User model. Use django.contrib.auth.get_user_model() instead!r cN|jdkr|d|dSdS)Nz auth.Userr node)value add_message)selfrs q/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/pylint_django/checkers/auth_user.py visit_constzAuthUserChecker.visit_consts9 : $ $   3$  ? ? ? ? ? % $r c||jdkr.|jD](}|ddvr|d|dS'dSdS)Nzdjango.contrib.auth.modelsr)*Userr r)modnamenamesr)rrimported_namess rvisit_importfromz AuthUserChecker.visit_importfrom si <7 7 7"&*  !!$ 55$$%9$EEEEE6 8 7  rN) __name__ __module__ __qualname__rIAstroidChecker__implements__namermsgsrcheck_messagesrrrrrrs 02N D G G DU011@@21@ U.//0/rrN) pylintrrpylint.checkersrpylint_django.__pkginfo__r BaseCheckerrr&rrr+sx''''''''!!!!!!------h*r