Skip to content

Instantly share code, notes, and snippets.

@nramirezuy
Created June 15, 2024 17:09
Show Gist options
  • Save nramirezuy/c2b7109bdfb3d933015f80e8a8e60737 to your computer and use it in GitHub Desktop.
Save nramirezuy/c2b7109bdfb3d933015f80e8a8e60737 to your computer and use it in GitHub Desktop.
2024-06-15 13:48:17,417 -03 - INFO - pylsp.python_lsp - Starting PythonLSPServer IO language server
2024-06-15 13:48:17,418 -03 - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': 1, 'method': 'initialize', 'params': {'clientInfo': {'name': 'Neovim', 'version': '0.10.0-dev'}, 'trace': 'off', 'processId': 46963, 'workDoneToken': '1', 'capabilities': {'window': {'showDocument': {'support': True}, 'workDoneProgress': True, 'showMessage': {'messageActionItem': {'additionalPropertiesSupport': False}}}, 'workspace': {'inlayHint': {'refreshSupport': True}, 'applyEdit': True, 'didChangeWatchedFiles': {'relativePatternSupport': True, 'dynamicRegistration': False}, 'workspaceEdit': {'resourceOperations': ['rename', 'create', 'delete']}, 'symbol': {'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}, 'dynamicRegistration': False}, 'didChangeConfiguration': {'dynamicRegistration': False}, 'semanticTokens': {'refreshSupport': True}, 'configuration': True, 'workspaceFolders': True}, 'general': {'positionEncodings': ['utf-16']}, 'textDocument': {'inlayHint': {'resolveSupport': {'properties': ['textEdits', 'tooltip', 'location', 'command']}, 'dynamicRegistration': True}, 'diagnostic': {'dynamicRegistration': False}, 'callHierarchy': {'dynamicRegistration': False}, 'publishDiagnostics': {'relatedInformation': True, 'dataSupport': True, 'tagSupport': {'valueSet': [1, 2]}}, 'documentSymbol': {'hierarchicalDocumentSymbolSupport': True, 'dynamicRegistration': False, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}}, 'rangeFormatting': {'dynamicRegistration': True}, 'formatting': {'dynamicRegistration': True}, 'codeAction': {'dataSupport': True, 'resolveSupport': {'properties': ['edit']}, 'isPreferredSupport': True, 'dynamicRegistration': True, 'codeActionLiteralSupport': {'codeActionKind': {'valueSet': ['', 'quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source', 'source.organizeImports']}}}, 'references': {'dynamicRegistration': False}, 'signatureHelp': {'signatureInformation': {'documentationFormat': ['markdown', 'plaintext'], 'activeParameterSupport': True, 'parameterInformation': {'labelOffsetSupport': True}}, 'dynamicRegistration': False}, 'synchronization': {'didSave': True, 'dynamicRegistration': False, 'willSave': True, 'willSaveWaitUntil': True}, 'definition': {'linkSupport': True, 'dynamicRegistration': True}, 'rename': {'prepareSupport': True, 'dynamicRegistration': True}, 'implementation': {'linkSupport': True}, 'declaration': {'linkSupport': True}, 'completion': {'insertTextMode': 1, 'completionItemKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}, 'completionItem': {'insertReplaceSupport': True, 'resolveSupport': {'properties': ['documentation', 'detail', 'additionalTextEdits', 'sortText', 'filterText', 'insertText', 'textEdit', 'insertTextFormat', 'insertTextMode']}, 'documentationFormat': ['markdown', 'plaintext'], 'tagSupport': {'valueSet': [1]}, 'deprecatedSupport': True, 'preselectSupport': True, 'labelDetailsSupport': True, 'snippetSupport': True, 'insertTextModeSupport': {'valueSet': [1, 2]}, 'commitCharactersSupport': True}, 'completionList': {'itemDefaults': ['commitCharacters', 'editRange', 'insertTextFormat', 'insertTextMode', 'data']}, 'dynamicRegistration': False, 'contextSupport': True}, 'typeDefinition': {'linkSupport': True}, 'semanticTokens': {'overlappingTokenSupport': True, 'augmentsSyntaxTokens': True, 'serverCancelSupport': False, 'multilineTokenSupport': False, 'dynamicRegistration': False, 'requests': {'range': False, 'full': {'delta': True}}, 'formats': ['relative'], 'tokenModifiers': ['declaration', 'definition', 'readonly', 'static', 'deprecated', 'abstract', 'async', 'modification', 'documentation', 'defaultLibrary'], 'tokenTypes': ['namespace', 'type', 'class', 'enum', 'interface', 'struct', 'typeParameter', 'parameter', 'variable', 'property', 'enumMember', 'event', 'function', 'method', 'macro', 'keyword', 'modifier', 'comment', 'string', 'number', 'regexp', 'operator', 'decorator']}, 'hover': {'contentFormat': ['markdown', 'plaintext'], 'dynamicRegistration': True}, 'documentHighlight': {'dynamicRegistration': False}}}, 'workspaceFolders': [{'name': '/home/nico/', 'uri': 'file:///home/nico/'}], 'initializationOptions': {}, 'rootUri': 'file:///home/nico/', 'rootPath': '/home/nico/'}}
2024-06-15 13:48:17,418 -03 - DEBUG - pylsp.python_lsp - Language server initialized with 46963 file:///home/nico/ /home/nico/ {}
2024-06-15 13:48:17,804 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'autopep8': No module named 'pycodestyle'
2024-06-15 13:48:17,805 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'flake8': No module named 'flake8'
2024-06-15 13:48:17,807 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'mccabe': No module named 'mccabe'
2024-06-15 13:48:17,807 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'pycodestyle': No module named 'pycodestyle'
2024-06-15 13:48:17,807 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'pydocstyle': No module named 'pydocstyle'
2024-06-15 13:48:17,808 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'pyflakes': No module named 'pyflakes'
2024-06-15 13:48:17,808 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'rope_autoimport': No module named 'rope'
2024-06-15 13:48:17,809 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'rope_completion': No module named 'rope'
2024-06-15 13:48:17,809 -03 - INFO - pylsp.config.config - Failed to load pylsp entry point 'yapf': No module named 'whatthepatch'
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin ruff from <module 'pylsp_ruff.plugin' from '/usr/lib/python3.12/site-packages/pylsp_ruff/plugin.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin pylsp_mypy from <module 'pylsp_mypy.plugin' from '/usr/lib/python3.12/site-packages/pylsp_mypy/plugin.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin folding from <module 'pylsp.plugins.folding' from '/usr/lib/python3.12/site-packages/pylsp/plugins/folding.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from <module 'pylsp.plugins.jedi_completion' from '/usr/lib/python3.12/site-packages/pylsp/plugins/jedi_completion.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from <module 'pylsp.plugins.definition' from '/usr/lib/python3.12/site-packages/pylsp/plugins/definition.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from <module 'pylsp.plugins.highlight' from '/usr/lib/python3.12/site-packages/pylsp/plugins/highlight.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from <module 'pylsp.plugins.hover' from '/usr/lib/python3.12/site-packages/pylsp/plugins/hover.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from <module 'pylsp.plugins.references' from '/usr/lib/python3.12/site-packages/pylsp/plugins/references.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from <module 'pylsp.plugins.jedi_rename' from '/usr/lib/python3.12/site-packages/pylsp/plugins/jedi_rename.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from <module 'pylsp.plugins.signature' from '/usr/lib/python3.12/site-packages/pylsp/plugins/signature.py'>
2024-06-15 13:48:17,814 -03 - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from <module 'pylsp.plugins.symbols' from '/usr/lib/python3.12/site-packages/pylsp/plugins/symbols.py'>
2024-06-15 13:48:17,815 -03 - INFO - pylsp.config.config - Loaded pylsp plugin preload from <module 'pylsp.plugins.preload_imports' from '/usr/lib/python3.12/site-packages/pylsp/plugins/preload_imports.py'>
2024-06-15 13:48:17,815 -03 - INFO - pylsp.config.config - Loaded pylsp plugin pylint from <module 'pylsp.plugins.pylint_lint' from '/usr/lib/python3.12/site-packages/pylsp/plugins/pylint_lint.py'>
2024-06-15 13:48:17,815 -03 - DEBUG - pylsp.config.config - pylsp_settings [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
2024-06-15 13:48:17,815 -03 - INFO - pylsp_mypy.plugin - init workspace = /home/nico/
2024-06-15 13:48:17,816 -03 - INFO - pylsp_mypy.plugin - mypyConfigFile = /home/nico//pyproject.toml configuration = {}
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp_ruff.plugin - Initializing pylsp_ruff
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'pylsp_mypy': {}}}, {'plugins': {'ruff': {'enabled': True, 'formatEnabled': True, 'executable': None, 'config': None, 'lineLength': None, 'exclude': None, 'select': None, 'extendSelect': None, 'ignore': None, 'extendIgnore': None, 'perFileIgnores': None, 'format': None, 'preview': False, 'unsafeFixes': False, 'severities': None, 'targetVersion': None}, 'pyflakes': {'enabled': False}, 'mccabe': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'yapf': {'enabled': False}, 'autopep8': {'enabled': False}}}] [hook]
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'formatEnabled': True, 'executable': None, 'config': None, 'lineLength': None, 'exclude': None, 'select': None, 'extendSelect': None, 'ignore': None, 'extendIgnore': None, 'perFileIgnores': None, 'format': None, 'preview': False, 'unsafeFixes': False, 'severities': None, 'targetVersion': None}, 'pylsp_mypy': {}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:17,816 -03 - INFO - pylsp.config.config - Disabled plugins: [None, None, None, None, None, <module 'pylsp.plugins.pylint_lint' from '/usr/lib/python3.12/site-packages/pylsp/plugins/pylint_lint.py'>]
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - pylsp_dispatchers [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - finish pylsp_dispatchers --> [] [hook]
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - pylsp_initialize [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,816 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'formatEnabled': True, 'executable': None, 'config': None, 'lineLength': None, 'exclude': None, 'select': None, 'extendSelect': None, 'ignore': None, 'extendIgnore': None, 'perFileIgnores': None, 'format': None, 'preview': False, 'unsafeFixes': False, 'severities': None, 'targetVersion': None}, 'pylsp_mypy': {}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:17,817 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module PIL
2024-06-15 13:48:17,817 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module array
2024-06-15 13:48:17,817 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module audioop
2024-06-15 13:48:17,817 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module binascii
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module cmath
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module collections
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module datetime
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module errno
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module gc
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module itertools
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module marshal
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module math
2024-06-15 13:48:17,818 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module mmap
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module operator
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module os
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module os.path
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module signal
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module sys
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module time
2024-06-15 13:48:17,819 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module xxsubtype
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module zipimport
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.plugins.preload_imports - Preloaded module zlib
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.config.config - finish pylsp_initialize --> [] [hook]
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.config.config - pylsp_commands [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.config.config - finish pylsp_commands --> [] [hook]
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.config.config - pylsp_experimental_capabilities [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp.config.config - finish pylsp_experimental_capabilities --> [] [hook]
2024-06-15 13:48:17,820 -03 - INFO - pylsp.python_lsp - Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}
2024-06-15 13:48:17,820 -03 - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.11.0'}}
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'initialized', 'params': {}}
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp.config.config - pylsp_initialized [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp.config.config - finish pylsp_initialized --> [] [hook]
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'pylsp': {'plugins': {'ruff': {'formatEnabled': True, 'enabled': True, 'lineLength': 79}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}}}}}
2024-06-15 13:48:17,821 -03 - INFO - pylsp.config.config - Updated settings to {'plugins': {'ruff': {'formatEnabled': True, 'enabled': True, 'lineLength': 79}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}}
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'extendSelect': None, 'unsafeFixes': False, 'extendIgnore': None, 'preview': False, 'perFileIgnores': None, 'targetVersion': None, 'config': None, 'severities': None, 'lineLength': 79, 'format': None, 'ignore': None, 'select': None, 'formatEnabled': True, 'executable': None, 'exclude': None}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:17,821 -03 - INFO - pylsp.config.config - Disabled plugins: [None, None, None, None, None, <module 'pylsp.plugins.pylint_lint' from '/usr/lib/python3.12/site-packages/pylsp/plugins/pylint_lint.py'>]
2024-06-15 13:48:17,821 -03 - INFO - pylsp.config.config - Updated settings to {'plugins': {'ruff': {'formatEnabled': True, 'enabled': True, 'lineLength': 79}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}}
2024-06-15 13:48:17,821 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'extendSelect': None, 'unsafeFixes': False, 'extendIgnore': None, 'preview': False, 'perFileIgnores': None, 'targetVersion': None, 'config': None, 'severities': None, 'lineLength': 79, 'format': None, 'ignore': None, 'select': None, 'formatEnabled': True, 'executable': None, 'exclude': None}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:17,822 -03 - INFO - pylsp.config.config - Disabled plugins: [None, None, None, None, None, <module 'pylsp.plugins.pylint_lint' from '/usr/lib/python3.12/site-packages/pylsp/plugins/pylint_lint.py'>]
2024-06-15 13:48:17,822 -03 - DEBUG - pylsp.config.config - pylsp_workspace_configuration_changed [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: None
2024-06-15 13:48:17,822 -03 - DEBUG - pylsp.config.config - finish pylsp_workspace_configuration_changed --> [] [hook]
2024-06-15 13:48:17,822 -03 - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didOpen', 'params': {'textDocument': {'text': 'import flet\n\n\nasync def main(page: flet.Page):\n page.title = "Ramona"\n page.vertical_alignment = flet.MainAxisAlignment.CENTER\n page.horizontal_alignment = flet.CrossAxisAlignment.CENTER\n\n flet.Container(\n\n )\n\n page.update()\n\n\nif __name__ == "__main__":\n flet.app(main)\n', 'uri': 'file:///home/nico/test/app.py', 'languageId': 'python', 'version': 0}}}
2024-06-15 13:48:17,822 -03 - DEBUG - pylsp.config.config - pylsp_document_did_open [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: file:///home/nico/test/app.py
2024-06-15 13:48:17,822 -03 - DEBUG - pylsp.config.config - finish pylsp_document_did_open --> [] [hook]
2024-06-15 13:48:18,322 -03 - DEBUG - pylsp.config.config - pylsp_lint [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: file:///home/nico/test/app.py
is_saved: True
2024-06-15 13:48:18,323 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'extendSelect': None, 'unsafeFixes': False, 'extendIgnore': None, 'preview': False, 'perFileIgnores': None, 'targetVersion': None, 'config': None, 'severities': None, 'lineLength': 79, 'format': None, 'ignore': None, 'select': None, 'formatEnabled': True, 'executable': None, 'exclude': None}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:18,323 -03 - INFO - pylsp_mypy.plugin - lint settings = {'enabled': True, 'overrides': ['--python-executable', 'python', True]} document.path = /home/nico/test/app.py is_saved = True
2024-06-15 13:48:18,323 -03 - INFO - pylsp_mypy.plugin - executing mypy args = ['--python-executable', 'python', '--show-error-end', '--no-error-summary', '--config-file', '/home/nico//pyproject.toml', '/home/nico/test/app.py', '--incremental', '--follow-imports', 'silent'] on path
2024-06-15 13:48:18,474 -03 - DEBUG - pylsp_mypy.plugin - report:
2024-06-15 13:48:18,474 -03 - DEBUG - pylsp_mypy.plugin - errors:
2024-06-15 13:48:18,474 -03 - INFO - pylsp_mypy.plugin - pylsp-mypy len(diagnostics) = 0
2024-06-15 13:48:18,475 -03 - DEBUG - pylsp.config.config - With configuration: {'plugins': {'autopep8': {'enabled': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'pyflakes': {'enabled': False}, 'pycodestyle': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'yapf': {'enabled': False}, 'mccabe': {'enabled': False}, 'ruff': {'enabled': True, 'extendSelect': None, 'unsafeFixes': False, 'extendIgnore': None, 'preview': False, 'perFileIgnores': None, 'targetVersion': None, 'config': None, 'severities': None, 'lineLength': 79, 'format': None, 'ignore': None, 'select': None, 'formatEnabled': True, 'executable': None, 'exclude': None}, 'pylsp_mypy': {'enabled': True, 'overrides': ['--python-executable', 'python', True]}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}
2024-06-15 13:48:18,475 -03 - DEBUG - pylsp_ruff.plugin - Found existing configuration for ruff, skipping pylsp config.
2024-06-15 13:48:18,475 -03 - DEBUG - pylsp_ruff.plugin - Calling ruff via '/usr/bin/python -m ruff' with args: ['--quiet', '--exit-zero', '--output-format=json', '--extension=ipynb:python', '--no-fix', '--force-exclude', '--stdin-filename=/home/nico/test/app.py', '--', '-'] on '/home/nico/test/app.py'
2024-06-15 13:48:18,495 -03 - DEBUG - pylsp.config.config - finish pylsp_lint --> [[], []] [hook]
2024-06-15 13:48:18,495 -03 - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: textDocument/publishDiagnostics {'uri': 'file:///home/nico/test/app.py', 'diagnostics': []}
2024-06-15 13:48:31,115 -03 - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didSave', 'params': {'text': 'import flet\n\n\nasync def main(page: flet.Page):\n page.title = "Ramona"\n page.vertical_alignment = flet.MainAxisAlignment.CENTER\n page.horizontal_alignment = flet.CrossAxisAlignment.CENTER\n\n flet.Container(\n\n )\n\n page.update()\n\n\nif __name__ == "__main__":\n flet.app(main)\n', 'textDocument': {'uri': 'file:///home/nico/test/app.py'}}}
2024-06-15 13:48:31,115 -03 - DEBUG - pylsp.config.config - pylsp_document_did_save [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: file:///home/nico/test/app.py
2024-06-15 13:48:31,116 -03 - DEBUG - pylsp.config.config - finish pylsp_document_did_save --> [] [hook]
2024-06-15 13:48:31,616 -03 - DEBUG - pylsp.config.config - pylsp_lint [hook]
config: <pylsp.config.config.Config object at 0x73f2af4894f0>
workspace: <pylsp.workspace.Workspace object at 0x73f2af974080>
document: file:///home/nico/test/app.py
is_saved: True
2024-06-15 13:48:31,616 -03 - INFO - pylsp_mypy.plugin - lint settings = {'enabled': True, 'overrides': ['--python-executable', 'python', True]} document.path = /home/nico/test/app.py is_saved = True
2024-06-15 13:48:31,616 -03 - INFO - pylsp_mypy.plugin - executing mypy args = ['--python-executable', 'python', '--show-error-end', '--no-error-summary', '--config-file', '/home/nico//pyproject.toml', '/home/nico/test/app.py', '--incremental', '--follow-imports', 'silent'] on path
2024-06-15 13:48:31,765 -03 - DEBUG - pylsp_mypy.plugin - report:
2024-06-15 13:48:31,765 -03 - DEBUG - pylsp_mypy.plugin - errors:
2024-06-15 13:48:31,765 -03 - INFO - pylsp_mypy.plugin - pylsp-mypy len(diagnostics) = 0
2024-06-15 13:48:31,766 -03 - DEBUG - pylsp_ruff.plugin - Found existing configuration for ruff, skipping pylsp config.
2024-06-15 13:48:31,766 -03 - DEBUG - pylsp_ruff.plugin - Calling ruff via '/usr/bin/python -m ruff' with args: ['--quiet', '--exit-zero', '--output-format=json', '--extension=ipynb:python', '--no-fix', '--force-exclude', '--stdin-filename=/home/nico/test/app.py', '--', '-'] on '/home/nico/test/app.py'
2024-06-15 13:48:31,787 -03 - DEBUG - pylsp.config.config - finish pylsp_lint --> [[], []] [hook]
2024-06-15 13:48:31,787 -03 - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: textDocument/publishDiagnostics {'uri': 'file:///home/nico/test/app.py', 'diagnostics': []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment