/opt/cloudlinux/venv/lib/python3.11/site-packages/prospector
NameSizeModeActions
config/-0755rm
formatters/-0755rm
profiles/-0755rm
tools/-0755rm
__pycache__/-0755rm
autodetect.py29550644editdlrm
blender.py44440644editdlrm
blender_combinations.yaml65510644editdlrm
compat.py3600644editdlrm
encoding.py15420644editdlrm
exceptions.py12910644editdlrm
finder.py47230644editdlrm
message.py27320644editdlrm
pathutils.py13060644editdlrm
postfilter.py22350644editdlrm
run.py81020644editdlrm
suppression.py44670644editdlrm
__init__.py00644editdlrm
__main__.py710644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/prospector/compat.py (360B)
from pathlib import Path def is_relative_to(relpath: Path, otherpath: Path) -> bool: # is_relative_to was only added to Path in Python 3.9 if hasattr(relpath, "is_relative_to"): return relpath.is_relative_to(otherpath) try: relpath.relative_to(otherpath) except ValueError: return False else: return True