📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: __init__.py
from multiprocessing import Process, Queue from mypy import api from prospector.message import Location, Message from prospector.tools import ToolBase __all__ = ("MypyTool",) from prospector.tools.exceptions import BadToolConfig LIST_OPTIONS = ["allow", "check", "disallow", "no-check", "no-warn", "warn"] VALID_OPTIONS = LIST_OPTIONS + [ "use-dmypy", "strict", "follow-imports", "ignore-missing-imports", "implicit-optional", "strict-optional", "platform", "python-2-mode", "python-version", "namespace-packages", ] def format_message(message): try: (path, line, char, err_type, err_msg) = message.split(":", 4) line = int(line) character = int(char) except ValueError: try: (path, line, err_type, err_msg) = message.split(":", 3) line = int(line) character = None except ValueError: (path, err_type, err_msg) = message.split(":", 2) line = 0 character = None location = Location( path=path, module=None, function=None, line=line, character=character, ) return Message( source="mypy", code=err_type.lstrip(" "), location=location, message=err_msg.lstrip(" "), ) def _run_in_subprocess(q, cmd, paths): """ This function exists only to be called by multiprocessing.Process as using lambda is forbidden """ q.put(cmd(paths)) class MypyTool(ToolBase): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.checker = api self.options = ["--show-column-numbers", "--no-error-summary"] self.use_dmypy = False def configure(self, prospector_config, _): options = prospector_config.tool_options("mypy") for option_key in options.keys(): if option_key not in VALID_OPTIONS: url = "https://github.com/PyCQA/prospector/blob/master/prospector/tools/mypy/__init__.py" raise BadToolConfig( "mypy", f"Option {option_key} is not valid. " f"See the list of possible options: {url}" ) self.use_dmypy = options.get("use-dmypy", False) strict = options.get("strict", False) follow_imports = options.get("follow-imports", "normal") ignore_missing_imports = options.get("ignore-missing-imports", False) implict_optional = options.get("implict-optional", False) platform = options.get("platform", None) python_2_mode = options.get("python-2-mode", False) python_version = options.get("python-version", None) strict_optional = options.get("strict-optional", False) namespace_packages = options.get("namespace-packages", False) self.options.append(f"--follow-imports={follow_imports}") if strict: self.options.append("--strict") if ignore_missing_imports: self.options.append("--ignore-missing-imports") if implict_optional: self.options.append("--implict-optional") if platform: self.options.append(f"--platform {platform}") if python_2_mode: self.options.append("--py2") if python_version: self.options.append(f"--python-version {python_version}") if strict_optional: self.options.append("--strict-optional") if namespace_packages: self.options.append("--namespace-packages") for list_option in LIST_OPTIONS: for entry in options.get(list_option, []): self.options.append(f"--{list_option}-{entry}") def run(self, found_files): paths = [str(path) for path in found_files.python_modules] paths.extend(self.options) if self.use_dmypy: # Due to dmypy messing with stdout/stderr we call it in a separate # process q = Queue(1) p = Process(target=_run_in_subprocess, args=(q, self.checker.run_dmypy, ["run", "--"] + paths)) p.start() result = q.get() p.join() else: result = self.checker.run(paths) report, _ = result[0], result[1:] # noqa return [format_message(message) for message in report.splitlines()]
Save