PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt """Create UML diagrams for classes and modules in .""" from __future__ import annotations import sys from collections.abc import Sequence from typing import NoReturn from pylint import constants from pylint.config.arguments_manager import _ArgumentsManager from pylint.config.arguments_provider import _ArgumentsProvider from pylint.lint import discover_package_path from pylint.lint.utils import augmented_sys_path from pylint.pyreverse import writer from pylint.pyreverse.diadefslib import DiadefsHandler from pylint.pyreverse.inspector import Linker, project_from_files from pylint.pyreverse.utils import ( check_graphviz_availability, check_if_graphviz_supports_format, insert_default_options, ) from pylint.typing import Options DIRECTLY_SUPPORTED_FORMATS = ( "dot", "vcg", "puml", "plantuml", "mmd", "html", ) DEFAULT_COLOR_PALETTE = ( "aliceblue", "antiquewhite", "aquamarine", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cyan", "darkgoldenrod", "darkseagreen", "dodgerblue", "forestgreen", "gold", "hotpink", "mediumspringgreen", ) OPTIONS: Options = ( ( "filter-mode", { "short": "f", "default": "PUB_ONLY", "dest": "mode", "type": "string", "action": "store", "metavar": "", "help": """filter attributes and functions according to . Correct modes are : 'PUB_ONLY' filter all non public attributes [DEFAULT], equivalent to PRIVATE+SPECIAL_A 'ALL' no filter 'SPECIAL' filter Python special functions except constructor 'OTHER' filter protected and private attributes""", }, ), ( "class", { "short": "c", "action": "extend", "metavar": "", "type": "csv", "dest": "classes", "default": None, "help": "create a class diagram with all classes related to ;\ this uses by default the options -ASmy", }, ), ( "show-ancestors", { "short": "a", "action": "store", "metavar": "", "type": "int", "default": None, "help": "show generations of ancestor classes not in ", }, ), ( "all-ancestors", { "short": "A", "default": None, "action": "store_true", "help": "show all ancestors off all classes in ", }, ), ( "show-associated", { "short": "s", "action": "store", "metavar": "", "type": "int", "default": None, "help": "show levels of associated classes not in ", }, ), ( "all-associated", { "short": "S", "default": None, "action": "store_true", "help": "show recursively all associated off all associated classes", }, ), ( "show-builtin", { "short": "b", "action": "store_true", "default": False, "help": "include builtin objects in representation of classes", }, ), ( "module-names", { "short": "m", "default": None, "type": "yn", "metavar": "", "help": "include module name in representation of classes", }, ), ( "only-classnames", { "short": "k", "action": "store_true", "default": False, "help": "don't show attributes and methods in the class boxes; this disables -f values", }, ), ( "output", { "short": "o", "dest": "output_format", "action": "store", "default": "dot", "metavar": "", "type": "string", "help": ( "create a *. output file if format is available. Available " f"formats are: {', '.join(DIRECTLY_SUPPORTED_FORMATS)}. Any other " f"format will be tried to create by means of the 'dot' command line " f"tool, which requires a graphviz installation." ), }, ), ( "colorized", { "dest": "colorized", "action": "store_true", "default": False, "help": "Use colored output. Classes/modules of the same package get the same color.", }, ), ( "max-color-depth", { "dest": "max_color_depth", "action": "store", "default": 2, "metavar": "", "type": "int", "help": "Use separate colors up to package depth of ", }, ), ( "color-palette", { "dest": "color_palette", "action": "store", "default": DEFAULT_COLOR_PALETTE, "metavar": "", "type": "csv", "help": "Comma separated list of colors to use", }, ), ( "ignore", { "type": "csv", "metavar": "", "dest": "ignore_list", "default": constants.DEFAULT_IGNORE_LIST, "help": "Files or directories to be skipped. They should be base names, not paths.", }, ), ( "project", { "default": "", "type": "string", "short": "p", "metavar": "", "help": "set the project name.", }, ), ( "output-directory", { "default": "", "type": "path", "short": "d", "action": "store", "metavar": "", "help": "set the output directory path.", }, ), ( "source-roots", { "type": "glob_paths_csv", "metavar": "[,...]", "default": (), "help": "Add paths to the list of the source roots. Supports globbing patterns. The " "source root is an absolute path or a path relative to the current working directory " "used to determine a package namespace for modules located under the source root.", }, ), ) class Run(_ArgumentsManager, _ArgumentsProvider): """Base class providing common behaviour for pyreverse commands.""" options = OPTIONS name = "pyreverse" def __init__(self, args: Sequence[str]) -> NoReturn: # Immediately exit if user asks for version if "--version" in args: print("pyreverse is included in pylint:") print(constants.full_version) sys.exit(0) _ArgumentsManager.__init__(self, prog="pyreverse", description=__doc__) _ArgumentsProvider.__init__(self, self) # Parse options insert_default_options() args = self._parse_command_line_configuration(args) if self.config.output_format not in DIRECTLY_SUPPORTED_FORMATS: check_graphviz_availability() print( f"Format {self.config.output_format} is not supported natively." " Pyreverse will try to generate it using Graphviz..." ) check_if_graphviz_supports_format(self.config.output_format) sys.exit(self.run(args)) def run(self, args: list[str]) -> int: """Checking arguments and run project.""" if not args: print(self.help()) return 1 extra_packages_paths = list( {discover_package_path(arg, self.config.source_roots) for arg in args} ) with augmented_sys_path(extra_packages_paths): project = project_from_files( args, project_name=self.config.project, black_list=self.config.ignore_list, ) linker = Linker(project, tag=True) handler = DiadefsHandler(self.config) diadefs = handler.get_diadefs(project, linker) writer.DiagramWriter(self.config).write(diadefs) return 0 if __name__ == "__main__": Run(sys.argv[1:])