{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":644050794,"defaultBranch":"main","name":"python-lsp-pyre","ownerLogin":"cricalix","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-22T17:54:20.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1478917?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1685177470.2845309","currentOid":""},"activityList":{"items":[{"before":"cbd1029fc6b17776e5b09457d020987553234b25","after":"f9fb4b0111063067e59b8d6b9312a12e8503b1d0","ref":"refs/heads/main","pushedAt":"2023-12-15T15:16:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Create LICENSE","shortMessageHtmlLink":"Create LICENSE"}},{"before":"feb6cc0bb2a20a2a50952626d785511df1395b0a","after":"cbd1029fc6b17776e5b09457d020987553234b25","ref":"refs/heads/main","pushedAt":"2023-05-27T10:02:23.325Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Add codeDescription support\n\nProvides URL to documentation about the lint.","shortMessageHtmlLink":"Add codeDescription support"}},{"before":"36e222047440003a1ff3c41358f1c3dab3126269","after":"feb6cc0bb2a20a2a50952626d785511df1395b0a","ref":"refs/heads/main","pushedAt":"2023-05-27T08:51:10.284Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Enable strict mode, update docs, use internal Settings object\n\nUpdates the default pyre configuration to be strict,\nand updates the documentation to match. Introduces an\ninternal settigs object, because I'm not a fan of\ndicts and the typing thereof (yes, TypedDict exists).\n\n* Introduces the Settings dataclass\n* Uses it to convert the pylsp settings dict to a typed object\n* Defaults pyre to strict mode when writing out the initial config file\n* Updates the documentation to reflect this strict mode\n* Updates the documentation to explain squelching of Pyre lints\n* Adds source commentary about pyre's output vs LSP w.r.t. lints per file\n* Bumps the version","shortMessageHtmlLink":"Enable strict mode, update docs, use internal Settings object"}},{"before":"04b914ec38f7cbdd134342be61a2ead12986fb2d","after":"36e222047440003a1ff3c41358f1c3dab3126269","ref":"refs/heads/main","pushedAt":"2023-05-26T07:01:08.068Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Better configuration setting, documentation\n\nThis is v0.1.2 of the plugin. It addresses some deficiencies in the documentation, and deals with configuration pass-through from the language server more correctly.\n\n* Adds docs/Configuration.md to detail what configuration options are supported\n* Updates docs/kate.md to detail how to pass settings from Kate's LSP config structure\n* Updates README.md with more precise details about the configuration\n* Updates README.md with more links, reflowed text, reorganised text\n* Updates the plugin to default the configuration as \"enabled, but don't create pyre config\"\n* Updates the plugin to log when the pyre config option is somehow missing\n* Moves the pyre config file creation out of the `initialize` hook and into the point before running Pyre\n* Decorates error messages with the plugin name","shortMessageHtmlLink":"Better configuration setting, documentation"}},{"before":"6b3bad413db5243c31fab050434d27c45bc6728d","after":"04b914ec38f7cbdd134342be61a2ead12986fb2d","ref":"refs/heads/main","pushedAt":"2023-05-24T17:48:47.381Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Revert \"Remove environment\"\n\nThis reverts commit a095de9024b98ad42e9a300c868678b3c078e3a8.","shortMessageHtmlLink":"Revert \"Remove environment\""}},{"before":"a095de9024b98ad42e9a300c868678b3c078e3a8","after":"6b3bad413db5243c31fab050434d27c45bc6728d","ref":"refs/heads/main","pushedAt":"2023-05-24T17:37:10.515Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Move SHA pointer forward from 2020 in case that is the problem","shortMessageHtmlLink":"Move SHA pointer forward from 2020 in case that is the problem"}},{"before":"54789ccf5f87ebb526917a671678fc7e902a4db9","after":"a095de9024b98ad42e9a300c868678b3c078e3a8","ref":"refs/heads/main","pushedAt":"2023-05-24T17:29:42.662Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Remove environment","shortMessageHtmlLink":"Remove environment"}},{"before":"8e347fcdb522a7ef2abbc20627c3b1d8da716e4a","after":"54789ccf5f87ebb526917a671678fc7e902a4db9","ref":"refs/heads/main","pushedAt":"2023-05-24T17:02:42.408Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Remove top-level permissions; conflicts job?","shortMessageHtmlLink":"Remove top-level permissions; conflicts job?"}},{"before":"72699f5c326b48e4cea05db50f83115135e5db52","after":"8e347fcdb522a7ef2abbc20627c3b1d8da716e4a","ref":"refs/heads/main","pushedAt":"2023-05-24T16:46:42.517Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Remove tags ref, using on: release; they conflict","shortMessageHtmlLink":"Remove tags ref, using on: release; they conflict"}},{"before":"6afcde9ba05738e09d22a5517a51da941bc87931","after":"72699f5c326b48e4cea05db50f83115135e5db52","ref":"refs/heads/main","pushedAt":"2023-05-24T08:02:09.745Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Update workflow with suggested best practice","shortMessageHtmlLink":"Update workflow with suggested best practice"}},{"before":"847c491413f711e98b7c78bacd959b6bda3b8a2d","after":"6afcde9ba05738e09d22a5517a51da941bc87931","ref":"refs/heads/main","pushedAt":"2023-05-24T08:01:05.515Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Update workflow with suggested best practice","shortMessageHtmlLink":"Update workflow with suggested best practice"}},{"before":"991cbd857fc6405bcd354a987d1df2cfdfdacc2b","after":"847c491413f711e98b7c78bacd959b6bda3b8a2d","ref":"refs/heads/main","pushedAt":"2023-05-24T07:51:41.103Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Prep for initial package release","shortMessageHtmlLink":"Prep for initial package release"}},{"before":"fcae0e4c495c79a77afc13e4fdebe5f705aa9e02","after":"991cbd857fc6405bcd354a987d1df2cfdfdacc2b","ref":"refs/heads/main","pushedAt":"2023-05-23T06:36:05.462Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Create python-publish.yml\n\nUsing GH guided flow and mutating to use poetry.","shortMessageHtmlLink":"Create python-publish.yml"}},{"before":"395cba2c6d483bf99686b0ffd554f1b9c767c503","after":"fcae0e4c495c79a77afc13e4fdebe5f705aa9e02","ref":"refs/heads/main","pushedAt":"2023-05-22T18:35:28.554Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Propagate errors to multiple surfaces\n\nContext\n==\n\nWhen Pyre encounters an error, that error should be propagated to all the visible surfaces.\n\nImplementation\n==\n\n* Change up the imports to absolute + alias\n* Add abend() to handle the abnormal end of Pyre's run\n* Add call to update the workspace with an error\n* Add more kwarg usage\n\nNotes\n==\n\nAbsolute imports with aliases are just easier to mock and test, avoiding Python's mocking hell.\n\nSample workspace\n==\n\nThis comes from Kate's LSP Output view\n```\n[19:24:16  LSP Server Info] lint: pyre check [100%]\n[19:24:16  LSP Server Error] python@/home/dhill/Source/python-lsp-pyre\nABEND: Pyre failed: Command '['pyre', '--output', 'json', 'check']' returned non-zero exit status 6..\nƛ Unrecognized configuration item: source_directries\nƛ No binary specified, looking for `pyre.bin` in PATH\nƛ Invalid configuration: Cannot find any source files to analyze. Either `source_directories` or `targets` must be specified.\n```\n\nSample log\n==\n\n```\n2023-05-22 19:24:16,083 IST - ERROR - pylsp_pyre.plugin - ABEND: Pyre failed: Command '['pyre', '--output', 'json', 'check']' returned non-zero exit status 6..\nƛ Unrecognized configuration item: source_directries\n\nƛ No binary specified, looking for `pyre.bin` in PATH\nƛ Invalid configuration: Cannot find any source files to analyze. Either `source_directories` or `targets` must be specified.\n\nTraceback (most recent call last):\n File \"/home/dhill/Source/python-lsp-pyre/pylsp_pyre/plugin.py\", line 105, in run_pyre\n data = really_run_pyre(root_path=workspace.root_path)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/dhill/Source/python-lsp-pyre/pylsp_pyre/plugin.py\", line 142, in really_run_pyre\n return subprocess.run(\n ^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/subprocess.py\", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command '['pyre', '--output', 'json', 'check']' returned non-zero exit status 6.\n\n```","shortMessageHtmlLink":"Propagate errors to multiple surfaces"}},{"before":"ed6b93a836dd8c6212a0dcac78245027f7b259fa","after":"395cba2c6d483bf99686b0ffd554f1b9c767c503","ref":"refs/heads/main","pushedAt":"2023-05-22T18:08:05.058Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Link Pyre in readme\n\nForgot to link the type checker official Github. Fix that.","shortMessageHtmlLink":"Link Pyre in readme"}},{"before":"8f8b27b62dbcd8aa5fb311057a1eb793a3beee80","after":"ed6b93a836dd8c6212a0dcac78245027f7b259fa","ref":"refs/heads/main","pushedAt":"2023-05-22T17:56:56.702Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Remove file that is not needed","shortMessageHtmlLink":"Remove file that is not needed"}},{"before":"5f5a63abe03df918f0442664585e52114c1c3d02","after":"8f8b27b62dbcd8aa5fb311057a1eb793a3beee80","ref":"refs/heads/main","pushedAt":"2023-05-22T17:55:46.389Z","pushType":"push","commitsCount":1,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Commit initial version of code, docs","shortMessageHtmlLink":"Commit initial version of code, docs"}},{"before":null,"after":"5f5a63abe03df918f0442664585e52114c1c3d02","ref":"refs/heads/main","pushedAt":"2023-05-22T17:54:42.105Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"cricalix","name":"Duncan Hill","path":"/cricalix","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1478917?s=80&v=4"},"commit":{"message":"Start with .gitignore","shortMessageHtmlLink":"Start with .gitignore"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMi0xNVQxNToxNjowMC4wMDAwMDBazwAAAAPLWKpP","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMi0xNVQxNToxNjowMC4wMDAwMDBazwAAAAPLWKpP","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNS0yMlQxNzo1NDo0Mi4xMDUwOThazwAAAAMxzacT"}},"title":"Activity · cricalix/python-lsp-pyre"}