REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 704 B
Close
//proc/thread-self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_celery/__init__.py
Text
Base64
from astroid import MANAGER from astroid.builder import AstroidBuilder from astroid import nodes def register(_): # this method is expected by pylint for plugins, however we don't # want to register any checkers pass MODULE_TRANSFORMS = {} def transform(module): try: tr = MODULE_TRANSFORMS[module.name] except KeyError: pass else: tr(module) MANAGER.register_transform(nodes.Module, transform) def celery_transform(module): fake = AstroidBuilder(MANAGER).string_build(''' class task_dummy(object): def __call__(self): pass ''') module.locals['task'] = fake.locals['task_dummy'] MODULE_TRANSFORMS['celery'] = celery_transform
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__pycache__
DIR
-
drwxr-xr-x
2026-02-06 08:01:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
704 B
lrw-r--r--
2026-01-20 13:01:48
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).