Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > pylint_django >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
augmentations | Directory | - | - | |
checkers | Directory | - | - | |
tests | Directory | - | - | |
transforms | Directory | - | - | |
__init__.py | File | 393 bytes | April 17 2025 13:10:59. | |
__pkginfo__.py | File | 28 bytes | April 17 2025 13:10:59. | |
compat.py | File | 1096 bytes | April 17 2025 13:10:59. | |
plugin.py | File | 1513 bytes | April 17 2025 13:10:59. | |
utils.py | File | 1177 bytes | April 17 2025 13:10:59. |
"""Common Django module.""" from pylint.checkers.base import NameChecker from pylint_plugin_utils import get_checker # we want to import the transforms to make sure they get added to the astroid manager, # however we don't actually access them directly, so we'll disable the warning from pylint_django import transforms # noqa, pylint: disable=unused-import from pylint_django import compat from pylint_django.checkers import register_checkers def load_configuration(linter): """ Amend existing checker config. """ name_checker = get_checker(linter, NameChecker) name_checker.config.good_names += ( "qs", "urlpatterns", "register", "app_name", "handler400", "handler403", "handler404", "handler500", ) # we don't care about South migrations linter.config.black_list += ("migrations", "south_migrations") def register(linter): """ Registering additional checkers. """ # add all of the checkers register_checkers(linter) # register any checking fiddlers try: # pylint: disable=import-outside-toplevel from pylint_django.augmentations import apply_augmentations apply_augmentations(linter) except ImportError: # probably trying to execute pylint_django when Django isn't installed # in this case the django-not-installed checker will kick-in pass if not compat.LOAD_CONFIGURATION_SUPPORTED: load_configuration(linter)
SILENT KILLER Tool