
    9 f&                     R    d dl mZ d dlmZ d dlmZ d dlmZ  G d de          ZdS )    )absolute_import)BaseChecker)BASE_ID)check_messagesc                   V    e Zd ZdZde ddde ddiZ ed          d	             Zd
S )DjangoInstalledCheckerzdjango-installed-checkerF01)z)Django is not available on the PYTHONPATHdjango-not-availablezrDjango could not be imported by the pylint-django plugin, so most Django related improvements to pylint will fail.W99)z3Placeholder message to prevent disabling of checkerz django-not-available-placeholderzoPyLint does not recognise checkers as being enabled unless they have at least one message which is not fatal...r   c                     	 t          d           d S # t          $ r3 | j                            d           |                     d           Y d S w xY w)Ndjangopylint_djangor   )
__import__ImportErrorlinterset_current_moduleadd_message)selfs    ]/var/www/equiseq/venv/lib/python3.11/site-packages/pylint_django/checkers/django_installed.pyopenzDjangoInstalledChecker.open   sl    	5x      	5 	5 	5 K**?;;;3444444		5s    9AAN)__name__
__module____qualname__namer   msgsr   r        r   r   r   	   sk        %D 	G 
 	G 
D  ^*++5 5 ,+5 5 5r   r   N)	
__future__r   pylint.checkersr   pylint_django.__pkginfo__r   pylint_django.compatr   r   r   r   r   <module>r$      s    & & & & & & ' ' ' ' ' ' - - - - - - / / / / / /5 5 5 5 5[ 5 5 5 5 5r   